| 20 | int g_fail = 0; |
| 21 | int64_t g_checks = 0; |
| 22 | void check(bool ok, const char* what, long long a = 0, long long b = 0) { |
| 23 | ++g_checks; |
| 24 | if (!ok) { |
| 25 | if (++g_fail <= 20) std::printf(" FAIL %s (%lld vs %lld)\n", what, a, b); |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | // verify.cpp run(): sp.counter = pos0, and the kernel draws row t with sp.counter + t |
| 30 | uint64_t verify_row_counter(int64_t pos0, int t) { return (uint64_t) pos0 + (uint64_t) t; } |
no outgoing calls
no test coverage detected