| 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 | { |
nothing calls this directly
no test coverage detected