Salome HOME
minor code review
[modules/hydro.git] / src / HYDRO_tests / test_HYDROData_PolylineXY.cxx
index dfbf94ae0a9d6fb17ce0e733d86293e1257f2a05..9b505914aaab94221c889a1aaf82577b0432e060 100644 (file)
@@ -263,6 +263,7 @@ void test_HYDROData_PolylineXY::test_presentation()
   // Check default type
   Handle(HYDROGUI_Arrow) arr = Handle(HYDROGUI_Arrow)::DownCast( aNewPolylinePrs->getAISObjects()[1] );
   CPPUNIT_ASSERT_EQUAL( HYDROGUI_Arrow::Cone, arr->GetType() );
+  CPPUNIT_ASSERT_EQUAL( 35, arr->GetSize() );
 
   
   // Check polyline presentation with default (cone) arrow
@@ -270,6 +271,7 @@ void test_HYDROData_PolylineXY::test_presentation()
   TestViewer::show( aPointsPrs, AIS_PointCloud::DM_Points, 0, true, "Polyline_Presentation" );
   TestViewer::show( aPolyline2d->GetShape(), 0, true, Qt::red );
   //TestViewer::show( aNewPolylinePrs, AIS_PointCloud::DM_Points, 0, true, "" );
+  aNewPolylinePrs->setBorderColor( Qt::blue );
   aNewPolylinePrs->display();
   TestViewer::fitAll();
   CPPUNIT_ASSERT_IMAGES