replace zxq.co/ripple/hanayo
This commit is contained in:
13
vendor/zxq.co/ripple/playstyle/playstyle_test.go
vendored
Normal file
13
vendor/zxq.co/ripple/playstyle/playstyle_test.go
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
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()
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user