| 176 | }; |
| 177 | |
| 178 | void test_das_string(const Block & block, Context * context, LineInfoArg * at) { |
| 179 | string str = "test_das_string"; |
| 180 | string str2; |
| 181 | vec4f args[2]; |
| 182 | args[0] = cast<void *>::from(&str); |
| 183 | args[1] = cast<void *>::from(&str2); |
| 184 | context->invoke(block, args, nullptr, at); |
| 185 | if (str != "out_of_it") context->throw_error_at(at, "test string mismatch"); |
| 186 | if (str2 != "test_das_string") context->throw_error_at(at, "test string clone mismatch"); |
| 187 | } |
| 188 | |
| 189 | void testPipedDefaults(int32_t a, float b, const TBlock<void, int32_t, float> & blk, Context * context, LineInfoArg * at) { |
| 190 | das_invoke<void>::invoke(context, at, blk, a, b); |
nothing calls this directly
no test coverage detected