| 28 | |
| 29 | using TargetEnvTest = ::testing::TestWithParam<spv_target_env>; |
| 30 | TEST_P(TargetEnvTest, CreateContext) { |
| 31 | spv_target_env env = GetParam(); |
| 32 | spv_context context = spvContextCreate(env); |
| 33 | ASSERT_NE(nullptr, context); |
| 34 | spvContextDestroy(context); // Avoid leaking |
| 35 | } |
| 36 | |
| 37 | TEST_P(TargetEnvTest, ValidDescription) { |
| 38 | const char* description = spvTargetEnvDescription(GetParam()); |
nothing calls this directly
no test coverage detected