| 21 | } |
| 22 | |
| 23 | void test_bind_nonnegative_data() |
| 24 | { |
| 25 | int n, m; |
| 26 | scanf("%d%d", &n, &m); |
| 27 | auto a = qAllocMany(n); |
| 28 | QProg prog; |
| 29 | prog << bind_nonnegative_data(m, a); |
| 30 | auto result = probRunDict(prog, a); |
| 31 | for (auto& val : result) |
| 32 | { |
| 33 | if (val.second > 0) |
| 34 | std::cout << val.first << ", " << val.second << std::endl; |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | bool test_QAdder() |
| 39 | { |
nothing calls this directly
no test coverage detected