| 239 | using namespace scene::merge; |
| 240 | |
| 241 | inline ComparisonResult::Ptr performComparison(const std::string& targetMap, const std::string& sourceMapPath) |
| 242 | { |
| 243 | GlobalCommandSystem().executeCommand("OpenMap", cmd::Argument(targetMap)); |
| 244 | |
| 245 | auto resource = GlobalMapResourceManager().createFromPath(sourceMapPath); |
| 246 | EXPECT_TRUE(resource->load()) << "Test map not found in path " << sourceMapPath; |
| 247 | |
| 248 | return GraphComparer::Compare(resource->getRootNode(), GlobalMapModule().getRoot()); |
| 249 | } |
| 250 | |
| 251 | inline std::size_t countPrimitiveDifference(const ComparisonResult::EntityDifference& diff, |
| 252 | const ComparisonResult::PrimitiveDifference::Type type) |
no test coverage detected