From: isn Date: Fri, 13 Nov 2015 14:43:33 +0000 (+0300) Subject: additional checks X-Git-Tag: v1.5~43^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=628f95b07896c9c0e18eebdb98c2faa412bb7c3a;p=modules%2Fhydro.git additional checks --- diff --git a/src/HYDRO_tests/test_HYDROData_LandCoverMap.cxx b/src/HYDRO_tests/test_HYDROData_LandCoverMap.cxx index 39e0fe3d..e59ed505 100644 --- a/src/HYDRO_tests/test_HYDROData_LandCoverMap.cxx +++ b/src/HYDRO_tests/test_HYDROData_LandCoverMap.cxx @@ -248,6 +248,8 @@ void test_HYDROData_LandCoverMap::test_merge_faces_boxes() TestViewer::show( aMergedFace, AIS_Shaded, true, "merge_faces_boxes_11" ); CPPUNIT_ASSERT_IMAGES CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_FACE); + BRepCheck_Analyzer aBCA(aMergedFace); + CPPUNIT_ASSERT(aBCA.IsValid()); } { TopTools_ListOfShape Faces; @@ -257,6 +259,8 @@ void test_HYDROData_LandCoverMap::test_merge_faces_boxes() TestViewer::show( aMergedFace, AIS_Shaded, true, "merge_faces_boxes_12" ); CPPUNIT_ASSERT_IMAGES CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_COMPOUND); + BRepCheck_Analyzer aBCA(aMergedFace); + CPPUNIT_ASSERT(aBCA.IsValid()); } { TopTools_ListOfShape Faces; @@ -267,6 +271,8 @@ void test_HYDROData_LandCoverMap::test_merge_faces_boxes() TestViewer::show( aMergedFace, AIS_Shaded, true, "merge_faces_boxes_13" ); CPPUNIT_ASSERT_IMAGES CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_COMPOUND); + BRepCheck_Analyzer aBCA(aMergedFace); + CPPUNIT_ASSERT(aBCA.IsValid()); } { TopTools_ListOfShape Faces; @@ -278,6 +284,8 @@ void test_HYDROData_LandCoverMap::test_merge_faces_boxes() TestViewer::show( aMergedFace, AIS_Shaded, true, "merge_faces_boxes_14" ); CPPUNIT_ASSERT_IMAGES CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_FACE); + BRepCheck_Analyzer aBCA(aMergedFace); + CPPUNIT_ASSERT(aBCA.IsValid()); } // @@ -290,6 +298,8 @@ void test_HYDROData_LandCoverMap::test_merge_faces_boxes() TestViewer::show( aMergedFace, AIS_Shaded, true, "merge_faces_boxes_21" ); CPPUNIT_ASSERT_IMAGES CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_SHELL); + BRepCheck_Analyzer aBCA(aMergedFace); + CPPUNIT_ASSERT(aBCA.IsValid()); } { TopTools_ListOfShape Faces; @@ -299,6 +309,8 @@ void test_HYDROData_LandCoverMap::test_merge_faces_boxes() TestViewer::show( aMergedFace, AIS_Shaded, true, "merge_faces_boxes_22" ); CPPUNIT_ASSERT_IMAGES CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_COMPOUND); + BRepCheck_Analyzer aBCA(aMergedFace); + CPPUNIT_ASSERT(aBCA.IsValid()); } { TopTools_ListOfShape Faces; @@ -309,6 +321,8 @@ void test_HYDROData_LandCoverMap::test_merge_faces_boxes() TestViewer::show( aMergedFace, AIS_Shaded, true, "merge_faces_boxes_23" ); CPPUNIT_ASSERT_IMAGES CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_COMPOUND); + BRepCheck_Analyzer aBCA(aMergedFace); + CPPUNIT_ASSERT(aBCA.IsValid()); } { TopTools_ListOfShape Faces; @@ -320,6 +334,8 @@ void test_HYDROData_LandCoverMap::test_merge_faces_boxes() TestViewer::show( aMergedFace, AIS_Shaded, true, "merge_faces_boxes_24" ); CPPUNIT_ASSERT_IMAGES CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_SHELL); + BRepCheck_Analyzer aBCA(aMergedFace); + CPPUNIT_ASSERT(aBCA.IsValid()); } } @@ -345,6 +361,8 @@ void test_HYDROData_LandCoverMap::test_merge_faces_circles() TestViewer::show( aMergedFace, AIS_Shaded, true, "merge_faces_circles_11" ); CPPUNIT_ASSERT_IMAGES CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_FACE); + BRepCheck_Analyzer aBCA(aMergedFace); + CPPUNIT_ASSERT(aBCA.IsValid()); } { TopTools_ListOfShape Faces; @@ -354,6 +372,8 @@ void test_HYDROData_LandCoverMap::test_merge_faces_circles() TestViewer::show( aMergedFace, AIS_Shaded, true, "merge_faces_circles_12" ); CPPUNIT_ASSERT_IMAGES CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_COMPOUND); + BRepCheck_Analyzer aBCA(aMergedFace); + CPPUNIT_ASSERT(aBCA.IsValid()); } { TopTools_ListOfShape Faces; @@ -364,6 +384,8 @@ void test_HYDROData_LandCoverMap::test_merge_faces_circles() TestViewer::show( aMergedFace, AIS_Shaded, true, "merge_faces_circles_13" ); CPPUNIT_ASSERT_IMAGES CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_COMPOUND); + BRepCheck_Analyzer aBCA(aMergedFace); + CPPUNIT_ASSERT(aBCA.IsValid()); } { TopTools_ListOfShape Faces; @@ -374,6 +396,8 @@ void test_HYDROData_LandCoverMap::test_merge_faces_circles() TestViewer::show( aMergedFace, AIS_Shaded, true, "merge_faces_circles_14" ); CPPUNIT_ASSERT_IMAGES CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_COMPOUND); + BRepCheck_Analyzer aBCA(aMergedFace); + CPPUNIT_ASSERT(aBCA.IsValid()); } // @@ -386,6 +410,8 @@ void test_HYDROData_LandCoverMap::test_merge_faces_circles() TestViewer::show( aMergedFace, AIS_Shaded, true, "merge_faces_circles_21" ); CPPUNIT_ASSERT_IMAGES CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_SHELL); + BRepCheck_Analyzer aBCA(aMergedFace); + CPPUNIT_ASSERT(aBCA.IsValid()); } { TopTools_ListOfShape Faces; @@ -395,6 +421,8 @@ void test_HYDROData_LandCoverMap::test_merge_faces_circles() TestViewer::show( aMergedFace, AIS_Shaded, true, "merge_faces_circles_22" ); CPPUNIT_ASSERT_IMAGES CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_COMPOUND); + BRepCheck_Analyzer aBCA(aMergedFace); + CPPUNIT_ASSERT(aBCA.IsValid()); } { TopTools_ListOfShape Faces; @@ -405,6 +433,8 @@ void test_HYDROData_LandCoverMap::test_merge_faces_circles() TestViewer::show( aMergedFace, AIS_Shaded, true, "merge_faces_circles_23" ); CPPUNIT_ASSERT_IMAGES CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_COMPOUND); + BRepCheck_Analyzer aBCA(aMergedFace); + CPPUNIT_ASSERT(aBCA.IsValid()); } { TopTools_ListOfShape Faces; @@ -415,6 +445,8 @@ void test_HYDROData_LandCoverMap::test_merge_faces_circles() TestViewer::show( aMergedFace, AIS_Shaded, true, "merge_faces_circles_24" ); CPPUNIT_ASSERT_IMAGES CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_COMPOUND); + BRepCheck_Analyzer aBCA(aMergedFace); + CPPUNIT_ASSERT(aBCA.IsValid()); } }