geom/ints/big_test.go

18 lines
241 B
Go
Raw Normal View History

2019-12-21 11:53:57 +00:00
package ints
import (
"testing"
)
func BenchmarkIntsSmallRepunit(b *testing.B) {
for i := 0; i < b.N; i++ {
Big.Repunit(1234)
}
}
func BenchmarkIntsLargeRepunit(b *testing.B) {
for i := 0; i < b.N; i++ {
Big.Repunit(1234567)
}
}