MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / TEST_F

Function TEST_F

test/CommandSystem.cpp:8–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6using CommandSystemTest = RadiantTest;
7
8TEST_F(CommandSystemTest, ConstructVoidArg)
9{
10 cmd::Argument voidArg;
11
12 EXPECT_EQ(voidArg.getType(), cmd::ARGTYPE_VOID);
13 EXPECT_EQ(voidArg.getInt(), 0);
14 EXPECT_EQ(voidArg.getDouble(), 0);
15 EXPECT_EQ(voidArg.getString(), "");
16}
17
18TEST_F(CommandSystemTest, ConstructIntArg)
19{

Callers

nothing calls this directly

Calls 15

getIntMethod · 0.80
getVector2Method · 0.80
commandExistsMethod · 0.80
addWithCheckMethod · 0.80
firstFunction · 0.50
getTypeMethod · 0.45
getDoubleMethod · 0.45
getStringMethod · 0.45
getVector3Method · 0.45
getNameMethod · 0.45
addCommandMethod · 0.45
executeCommandMethod · 0.45

Tested by

no test coverage detected