| 56 | spvtest::TextToBinaryTestBase<TestWithParam<MemoryModelCase>>; |
| 57 | |
| 58 | TEST_P(OpMemoryModelTest, AnyMemoryModelCase) { |
| 59 | const std::string input = "OpMemoryModel " + GetParam().addressing_name + |
| 60 | " " + GetParam().memory_name; |
| 61 | EXPECT_THAT(CompiledInstructions(input), |
| 62 | Eq(MakeInstruction(spv::Op::OpMemoryModel, |
| 63 | {GetParam().get_addressing_value(), |
| 64 | GetParam().get_memory_value()}))); |
| 65 | } |
| 66 | |
| 67 | #define CASE(ADDRESSING, MEMORY) \ |
| 68 | { \ |
nothing calls this directly
no test coverage detected