| 121 | } |
| 122 | |
| 123 | void test_QComplement() |
| 124 | { |
| 125 | int n = 1; |
| 126 | int m = 1; |
| 127 | //scanf("%d%d", &n, &m); |
| 128 | auto a = qAllocMany(n); |
| 129 | auto k = qAllocMany(n + 2); |
| 130 | QProg prog; |
| 131 | prog << bind_data(m, a) |
| 132 | << QComplement(a, k); |
| 133 | auto result = probRunDict(prog, a); |
| 134 | for (auto& val : result) |
| 135 | { |
| 136 | if (val.second > 0) |
| 137 | std::cout << val.first << ", " << val.second << std::endl; |
| 138 | } |
| 139 | } |
| 140 | |
| 141 | bool test_QSub() |
| 142 | { |
nothing calls this directly
no test coverage detected