| 6 | using namespace std; |
| 7 | |
| 8 | void test_bind_data() |
| 9 | { |
| 10 | int n, m; |
| 11 | scanf("%d%d", &n, &m); |
| 12 | auto a = qAllocMany(n); |
| 13 | QProg prog; |
| 14 | prog << bind_data(m, a); |
| 15 | auto result = probRunDict(prog, a); |
| 16 | for (auto& val : result) |
| 17 | { |
| 18 | if (val.second > 0) |
| 19 | std::cout << val.first << ", " << val.second << std::endl; |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | void test_bind_nonnegative_data() |
| 24 | { |
nothing calls this directly
no test coverage detected