hanayo/vendor/zxq.co/ripple/playstyle/playstyle_test.go
2019-02-23 13:29:15 +00:00

14 lines
220 B
Go

package playstyle
import "testing"
func TestPlayStyle(t *testing.T) {
ps := PlayStyle((1 << 10) - 1)
t.Log(ps.String())
}
func BenchmarkString(b *testing.B) {
for i := 0; i < b.N; i++ {
PlayStyle(i).String()
}
}