MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / TEST_P

Function TEST_P

test/generator_magic_number_test.cpp:32–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 ::testing::TestWithParam<EnumCase<spv_generator_t>>;
31
32TEST_P(GeneratorMagicNumberTest, Single) {
33 EXPECT_THAT(std::string(spvGeneratorStr(GetParam().value())),
34 GetParam().name());
35}
36
37INSTANTIATE_TEST_SUITE_P(
38 Registered, GeneratorMagicNumberTest,

Callers

nothing calls this directly

Calls 3

spvGeneratorStrFunction · 0.85
valueMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected