(t *testing.T)
| 28 | } |
| 29 | |
| 30 | func TestScanLeftRandom(t *testing.T) { |
| 31 | for i := 0; i < 1521; i += 1 { |
| 32 | x := uint64(rand.Int63()) |
| 33 | got := ScanLeft(x) |
| 34 | exp := slowScanLeft(x) |
| 35 | if got != exp { |
| 36 | t.Errorf("failed %b: got %v exp %v", x, got, exp) |
| 37 | break |
| 38 | } |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | func TestScanRightSmall(t *testing.T) { |
| 43 | for i := 0; i < 1521; i += 1 { |
nothing calls this directly
no test coverage detected