diff --git a/common/dice/dice_test.go b/common/dice/dice_test.go index 05b364967..a658378f9 100644 --- a/common/dice/dice_test.go +++ b/common/dice/dice_test.go @@ -31,18 +31,18 @@ func BenchmarkIntn20(b *testing.B) { } } -func BenchmarkInt31(b *testing.B) { - for i := 0; i < b.N; i++ { - _ = uint16(rand.Int31() >> 15) - } -} - func BenchmarkInt63(b *testing.B) { for i := 0; i < b.N; i++ { _ = uint16(rand.Int63() >> 47) } } +func BenchmarkInt31(b *testing.B) { + for i := 0; i < b.N; i++ { + _ = uint16(rand.Int31() >> 15) + } +} + func BenchmarkIntn(b *testing.B) { for i := 0; i < b.N; i++ { _ = uint16(rand.Intn(65536))