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

Function TEST_F

test/tools/flags_test.cpp:35–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33};
34
35TEST_F(FlagTest, NoFlags) {
36 const char* argv[] = {"binary", nullptr};
37 EXPECT_TRUE(flags::Parse(argv));
38 EXPECT_EQ(flags::positional_arguments.size(), 0);
39}
40
41TEST_F(FlagTest, DashIsPositional) {
42 const char* argv[] = {"binary", "-", nullptr};

Callers

nothing calls this directly

Calls 3

ParseFunction · 0.50
sizeMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected