Faces.Append(pp1);
Faces.Append(pp2);
TopoDS_Shape aMergedFace = HYDROData_LandCoverMap::MergeFaces( Faces, true );
- TestViewer::show( aMergedFace, AIS_Shaded, true );
- TestViewer::AssertEqual( "cs11" );
+ TestViewer::show( aMergedFace, AIS_Shaded, true, "cs11" );
+ CPPUNIT_ASSERT_IMAGES
CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_FACE);
}
{
Faces.Append(pp1);
Faces.Append(pp3);
TopoDS_Shape aMergedFace = HYDROData_LandCoverMap::MergeFaces( Faces, true );
- TestViewer::show( aMergedFace, AIS_Shaded, true );
- TestViewer::AssertEqual( "cs12" );
+ TestViewer::show( aMergedFace, AIS_Shaded, true, "cs12" );
+ CPPUNIT_ASSERT_IMAGES
CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_SHELL);
}
{
Faces.Append(pp2);
Faces.Append(pp4);
TopoDS_Shape aMergedFace = HYDROData_LandCoverMap::MergeFaces( Faces, true );
- TestViewer::show( aMergedFace, AIS_Shaded, true );
- TestViewer::AssertEqual( "cs13" );
+ TestViewer::show( aMergedFace, AIS_Shaded, true, "cs13" );
+ CPPUNIT_ASSERT_IMAGES
CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_SHELL);
}
{
Faces.Append(pp4);
Faces.Append(pp2);
TopoDS_Shape aMergedFace = HYDROData_LandCoverMap::MergeFaces( Faces, true );
- TestViewer::show( aMergedFace, AIS_Shaded, true );
- TestViewer::AssertEqual( "cs14" );
+ TestViewer::show( aMergedFace, AIS_Shaded, true, "cs14" );
+ CPPUNIT_ASSERT_IMAGES
CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_FACE);
}
//
Faces.Append(pp1);
Faces.Append(pp2);
TopoDS_Shape aMergedFace = HYDROData_LandCoverMap::MergeFaces( Faces, false );
- TestViewer::show( aMergedFace, AIS_Shaded, true );
- TestViewer::AssertEqual( "cs21" );
+ TestViewer::show( aMergedFace, AIS_Shaded, true, "cs21" );
+ CPPUNIT_ASSERT_IMAGES
CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_SHELL);
}
{
Faces.Append(pp1);
Faces.Append(pp3);
TopoDS_Shape aMergedFace = HYDROData_LandCoverMap::MergeFaces( Faces, false );
- TestViewer::show( aMergedFace, AIS_Shaded, true );
- TestViewer::AssertEqual( "cs22" );
+ TestViewer::show( aMergedFace, AIS_Shaded, true, "cs22" );
+ CPPUNIT_ASSERT_IMAGES
CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_SHELL);
}
{
Faces.Append(pp2);
Faces.Append(pp4);
TopoDS_Shape aMergedFace = HYDROData_LandCoverMap::MergeFaces( Faces, false );
- TestViewer::show( aMergedFace, AIS_Shaded, true );
- TestViewer::AssertEqual( "cs23" );
+ TestViewer::show( aMergedFace, AIS_Shaded, true, "cs23" );
+ CPPUNIT_ASSERT_IMAGES
CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_SHELL);
}
{
Faces.Append(pp4);
Faces.Append(pp2);
TopoDS_Shape aMergedFace = HYDROData_LandCoverMap::MergeFaces( Faces, false );
- TestViewer::show( aMergedFace, AIS_Shaded, true );
- TestViewer::AssertEqual( "cs24" );
+ TestViewer::show( aMergedFace, AIS_Shaded, true, "cs24" );
+ CPPUNIT_ASSERT_IMAGES
CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_SHELL);
}
}