github.com/iikira/iikira-go-utils@v0.0.0-20230610031953-f2cb11cde33a/utils/converter/short_display_test.go (about)

     1  package converter_test
     2  
     3  import (
     4  	"fmt"
     5  	"github.com/iikira/iikira-go-utils/utils/converter"
     6  	"testing"
     7  )
     8  
     9  func TestShortDisplay(t *testing.T) {
    10  	for i := 0; i < 20; i++ {
    11  		fmt.Println([]byte(converter.ShortDisplay("\u0000我我\u0000我我我我", i)))
    12  	}
    13  }