(b *testing.B)
| 2915 | } |
| 2916 | |
| 2917 | func BenchmarkBigIntDiv(b *testing.B) { |
| 2918 | sizes := []int{ |
| 2919 | 10, 20, 50, 100, 200, 500, 1000, |
| 2920 | 1e4, 1e5, 1e6, 1e7, |
| 2921 | } |
| 2922 | for _, i := range sizes { |
| 2923 | j := 2 * i |
| 2924 | b.Run(fmt.Sprintf("%d/%d", j, i), func(b *testing.B) { |
| 2925 | benchmarkBigIntDiv(b, j, i) |
| 2926 | }) |
| 2927 | } |
| 2928 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…