MCPcopy Create free account
hub / github.com/Kitware/VTK / Execute

Method Execute

Testing/Core/vtkTestUtilities.cxx:1550–1562  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1548struct TestDataObjectsImpl
1549{
1550 static bool Execute(DataObjectT* do1, DataObjectT* do2, double toleranceFactor)
1551 {
1552 if (!TestFieldData(do1->GetFieldData(), do2->GetFieldData(),
1553 IdentityMapper(do1->GetFieldData()->GetNumberOfTuples()), toleranceFactor, true) ||
1554 !TestPoints(do1, do2, toleranceFactor) ||
1555 !CellsTester<DataObjectT>::Execute(do1, do2, toleranceFactor))
1556 {
1557 vtkLog(
1558 ERROR, "Failed to match the 2 input data objects of type " << do1->GetClassName() << ".");
1559 return false;
1560 }
1561 return true;
1562 }
1563};
1564
1565//============================================================================

Callers

nothing calls this directly

Calls 7

IdentityMapperClass · 0.85
TestFieldDataFunction · 0.70
TestPointsFunction · 0.70
ExecuteFunction · 0.70
GetFieldDataMethod · 0.45
GetNumberOfTuplesMethod · 0.45
GetClassNameMethod · 0.45

Tested by

no test coverage detected