just a thing to find the string representation of a ripple playstyle in go
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

playstyle_test.go 220B

12345678910111213
  1. package playstyle
  2. import "testing"
  3. func TestPlayStyle(t *testing.T) {
  4. ps := PlayStyle((1 << 10) - 1)
  5. t.Log(ps.String())
  6. }
  7. func BenchmarkString(b *testing.B) {
  8. for i := 0; i < b.N; i++ {
  9. PlayStyle(i).String()
  10. }
  11. }