| 49 | ValuesIn(spvtest::AllTargetEnvironments())); |
| 50 | |
| 51 | TEST(GetContextTest, InvalidTargetEnvProducesNull) { |
| 52 | // Use a value beyond the last valid enum value. |
| 53 | spv_context context = spvContextCreate(static_cast<spv_target_env>(30)); |
| 54 | EXPECT_EQ(context, nullptr); |
| 55 | } |
| 56 | |
| 57 | // A test case for parsing an environment string. |
| 58 | struct ParseCase { |
nothing calls this directly
no test coverage detected