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

Method performPatchSelectionTest

test/Selection.cpp:444–451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

442 }
443
444 void performPatchSelectionTest(const std::string& materialName, bool expectNodeIsSelectable)
445 {
446 auto worldspawn = GlobalMapModule().findOrInsertWorldspawn();
447 auto patch = algorithm::findFirstPatchWithMaterial(worldspawn, materialName);
448 EXPECT_TRUE(patch);
449
450 performSelectionTest(patch, expectNodeIsSelectable);
451 }
452
453 void performModelSelectionTest(const std::string& entityName, bool expectNodeIsSelectable)
454 {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected