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

Function TEST_F

test/Models.cpp:22–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20using ObjImportTest = ModelTest;
21
22TEST_F(ModelTest, LwoPolyCount)
23{
24 auto model = GlobalModelCache().getModel("models/darkmod/test/unit_cube.lwo");
25 EXPECT_TRUE(model);
26
27 // The unit cube should have 12 polys (6 quads = 12 tris)
28 EXPECT_EQ(model->getPolyCount(), 12);
29}
30
31TEST_F(ModelTest, AsePolyCount)
32{

Callers

nothing calls this directly

Calls 15

expectVertexWithNormalFunction · 0.85
expectVertexWithColourFunction · 0.85
TexCoord2fClass · 0.85
addNodeToContainerFunction · 0.85
getNthChildFunction · 0.85
performModelNodeTestFunction · 0.85
createEntityByClassNameFunction · 0.85
findChildModelFunction · 0.85
fileOrDirExistsFunction · 0.85
loadTextFromVfsFileFunction · 0.85
replace_allFunction · 0.85
replaceFileContentsFunction · 0.85

Tested by

no test coverage detected