(t *testing.T)
| 16 | } |
| 17 | |
| 18 | func TestScanLeftSmall(t *testing.T) { |
| 19 | for i := 0; i < 1521; i += 1 { |
| 20 | x := uint64(i * 31) |
| 21 | got := ScanLeft(x) |
| 22 | exp := slowScanLeft(x) |
| 23 | if got != exp { |
| 24 | t.Errorf("failed %b: got %v exp %v", x, got, exp) |
| 25 | break |
| 26 | } |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | func TestScanLeftRandom(t *testing.T) { |
| 31 | for i := 0; i < 1521; i += 1 { |
nothing calls this directly
no test coverage detected