From ec15c74fa546d5af23d92040b2e8fce6b5271df4 Mon Sep 17 00:00:00 2001 From: isn Date: Fri, 16 Oct 2015 15:41:28 +0300 Subject: [PATCH] test_merge_faces() // circles --- src/HYDRO_tests/reference_data/_cs13.png | Bin 0 -> 5643 bytes src/HYDRO_tests/reference_data/_cs23.png | Bin 0 -> 5643 bytes src/HYDRO_tests/reference_data/cs11_c.png | Bin 0 -> 6678 bytes src/HYDRO_tests/reference_data/cs12_c.png | Bin 0 -> 5431 bytes src/HYDRO_tests/reference_data/cs14_c.png | Bin 0 -> 5655 bytes src/HYDRO_tests/reference_data/cs21_c.png | Bin 0 -> 6720 bytes src/HYDRO_tests/reference_data/cs22_c.png | Bin 0 -> 5431 bytes src/HYDRO_tests/reference_data/cs24_c.png | Bin 0 -> 5655 bytes src/HYDRO_tests/reference_data/ff1.brep | 41 +++++++ src/HYDRO_tests/reference_data/ff2.brep | 41 +++++++ src/HYDRO_tests/reference_data/ff3.brep | 41 +++++++ .../test_HYDROData_LandCoverMap.cxx | 106 +++++++++++++++++- src/HYDRO_tests/test_HYDROData_LandCoverMap.h | 6 +- 13 files changed, 228 insertions(+), 7 deletions(-) create mode 100644 src/HYDRO_tests/reference_data/_cs13.png create mode 100644 src/HYDRO_tests/reference_data/_cs23.png create mode 100644 src/HYDRO_tests/reference_data/cs11_c.png create mode 100644 src/HYDRO_tests/reference_data/cs12_c.png create mode 100644 src/HYDRO_tests/reference_data/cs14_c.png create mode 100644 src/HYDRO_tests/reference_data/cs21_c.png create mode 100644 src/HYDRO_tests/reference_data/cs22_c.png create mode 100644 src/HYDRO_tests/reference_data/cs24_c.png create mode 100644 src/HYDRO_tests/reference_data/ff1.brep create mode 100644 src/HYDRO_tests/reference_data/ff2.brep create mode 100644 src/HYDRO_tests/reference_data/ff3.brep diff --git a/src/HYDRO_tests/reference_data/_cs13.png b/src/HYDRO_tests/reference_data/_cs13.png new file mode 100644 index 0000000000000000000000000000000000000000..1745487f1256efc39d77a3eaa8349564f91b291b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$O(JB>v19Y#cn=YSu$fDdZYu^iOlj`l@%Q(@>e!1LqqEnlKcT8O^f6A^$Uffogy+6hU=a^CpCJXGS=JY5 ztjvoSDCWVp*=f&1fRmYvz?g0GDCQ(xF+shb=T56j8yCH=$PrFx;C+1&u1q=(diek?b;e`fmwOgp(Ra)wJLJI z32w_UikE_bv%A=hNn3)qE!WNFtB4<2E^pW&M&BiX1?fN6|3-oI3jdx5A9cIK#*4l# zyiV8NcOZPEdg^V+y9iv(`A>IY8)a2J`{|l%_rjC~C455H_LAP{jN>B=0FJ}&(_D{x zzRExWq+&Nbbu;iixfc)2j_f*6{+^T()SG~_yq;AdJmxqMz3$uFA zs<^>;v$ll;1sc*Q-1!OKK&LxwPXX_hWjL668#+?-_Q;Dpj}BB0-B!Q%ZMbq_`aX{G zeL(Oyg>!Be^7``%nCy4IG7CEp#C-R+gD>Ri0C0^*Ig%ZexS7FZN(~GMwM0XS<{B+2 z{kWryX=}o^RWXwHS-z@X=!C>G`VvPq$ z*tziij%_mfe)HkDf9Ds-uyC~N-QQZl|FKW{+0WhBI?C&={!qD4bu4Ve=)uz-CSLK4 z|HDNYw8I1ZJW9wwCaEFpa#vT^K^M;4WCkrj(5Sm~;pm6v^j$4iXy4jW>zHm*FE!X?w-WlOn(N)|LTj^U0rh@=I)pT!C_r*_>P{|X` zNB50CG}1S49Ym_WJdh$h3hL^=5<1+TW1Tjy(%=gg9OO8h66zuK`mWMV+Qg?;lCobb4RZ(YJZS13&0Y>f;s{f-&f^*11${;fEeizg?r$IM9u{$?du;KFRpZa}Ipg!+ zMi!oT9qXQ37aAJ6u#AE4Z^^jVe@cINdM?c+>eB?Ty8$xkkHc7-*Yf411>e+A~H67fjBm?y@<0RdS<5y?nm7J-`>5Z YjW&lnet7LsbV_L0(#+QM2E#4#UkEL$<^TWy literal 0 HcmV?d00001 diff --git a/src/HYDRO_tests/reference_data/_cs23.png b/src/HYDRO_tests/reference_data/_cs23.png new file mode 100644 index 0000000000000000000000000000000000000000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c.png new file mode 100644 index 0000000000000000000000000000000000000000..c5223cb02a15c2f550e7de940482edd46479722e GIT binary patch literal 6678 zcmcIoc{tQx`#!_S*k{NVnnAX*mqA}K)+8iKS}jAeheX-N+6b9Sr6^M&mC9Na*&~&u zG*L;GtXV^r@Se|je=pbfeXr~N{qwr6uFjl!&i&l?eV*rhK4;>rEO+v7Zr}s}@a!@* zvIc;a004_QW*wYiQL9>n|DpX2cJ0H!zYvTw6@KP8X?oBf0NxtpAL_~$UNHbfi+366 z?+Z#B>F~J0FAQAH0Auteo+9uDoHzOqyQMKD|ch2j`#%+Rk9 zR2sHjZ*V9!CWv%TkVO`CJ+v#nEQO&ja<{qb*7ks6LBS20oNjx^%1o2A`+If1{+=Fx zvBa0&v?Y<|-xzSTe{4B;`SI{e8y3jxfA%-v^rf{EV8^~rc(@ua9(}P<$44TD*y^C8deD>O9(mvHnVtB%Z-R?Gol$=PbRKSBxji`H_570L!Z`VXm|J7qg=h*OBur zlbbf6swdu{CECnen~q26=HR9aOh|!YXB>Em0&SkTg2P5%a&W48<%+qeR1PA!AVMQD z(GKt6AExiXCdT{=$2uAUDw@3>%?Y#E-b43wf?eHfe;?vyQ?W{P(E@&~>%*dg16J_@Yj%0lvPhzag zQ96-oaZ}33N__bK0Q#o^6+7dJ( z83*z5aq(9?+pQ|*J+~?6SyueW!Syz>nVt5OchFVxQO^;`ExP&%Guc96yN?DlD<++() z87Ic$fv%DF4W;uc>r}Pvt2kxWcEV2DVS`K#Uu!K}-2e>2YkP0Y!O@b$KVgP?q{!Qd zg0v^%L{SE&{s6BBdfLxdO)HgCe&>{I^*nIFNhMSo*U~+e>E>ielgElESw%Zy&Rx~V zGNjgPQvDeO;H0=Kjg3@@!d6doVS3h93u^PZ_;Z$UjYPcXwj7>jAxQ&a=X-)&XlR4#}128-Atl-+J>uAnd`HNOOa=U6GvnwZMx(d?l48pd&lGN&zW zBdDMmVLVC*rV1Qx*a$4JVc-Ya&YfVnZX@ZD=4+AIKBvId`j)My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@p!SgUJT z@AnigA!@=N-EX!>*ZQMJS0HKzrsYHF*a9uGW)OYFu3H;$ewNakmt;$y8KYtMBL$lJ z{RG|LyDaR;8rlwZ75ifESq}GuQ*;aAXN~ct-xWkBd1S2<9qh*1L}pIi)|;?6(89 zz&l%1lAv^OwDzjCewAfI>m?HeZ{q<;?r>bbqpl>iT=_r$8$0Z%EosH9zLpf2aG@B` zBJKSt?nTenBqud~am^tLJ(^5heSnZM0}t7MU;hgR$V|J8^?@Hg-Rqpb)*ZefXhaZ) z5BXBQLDU&OgY#d4gMDe^|JV>$%dRwq?Cb^u+jRxbh7^%_U5E9#3bwb zRniYJB5+;V%GSs!W&JFBja;DPJD=0ZMYO^>-8031|3e1~)W zK|E~hQd{&y@CL-+d!%uHJkLz@c2xJo+oMl2*0djMO6drn5r;}BFVN1?;ih-cqdzwoKf9H`6W@3-oZb2O!<)`^rv!s#R|cA{Yjcm)n!F0>;a{eZ zMDHT8kALYIxU?>yXJF^P&@qoArDH8OS5AKt)FiGkpAaP8G#!4juq>dz`D(cO=ooag z;ziwyp3cdyyTi+-()s&BhO5xI!KKC?bs?b>L-A(gt-c*6IzzLv`e(u7gFzAlr}|FK z-1|B@-1RhktR2pIeag_47?bVI@OGDkvvt~pgnMcy=MLWbKtmzltP)De! zJ^bO>kwk%+0G*&qPD}~!~IQH$|mh>_Su$&zAW4G z6}zT$>OndduP!X^Ax*vCIx|&9QgMI$EeFrt_w8#}X_9^LP^oCTrxHt=y7K7r!-16g zOtWuzZLV-?w7xU+`O14!9lAG5{Chi24T)Jt>)>0~)+f*QM)sKozFy|w;a=}8ei`Pr z`q$1GL88!iG${C}`PT5oVdju7c@@?1ZVf?ShVu+Nsb{O|`k$fyfBGY@at4*crah~z R^HZ5syqRiedBegb;vW_&+M@sf literal 0 HcmV?d00001 diff --git a/src/HYDRO_tests/reference_data/cs21_c.png b/src/HYDRO_tests/reference_data/cs21_c.png new file mode 100644 index 0000000000000000000000000000000000000000..58231b66f5c97b0bcd883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0_}D8yi=|;^69}X)lb3DKFjW=6s&w8Gej3pyD0mr;@vH$35uF z-SFWw=S;v{9|kyS=P>xySnsQgyk|{pCV) zj*eQ-$n>S@{VDh6%Pdx#+>#%sH(y$}Hp)<1d{r08rB=DvLL?GZuYT<=dEK>w%4V^a z7bLRO$jx`|m_$DjRVJyfk3X`lS{^uNv++h^Y*Rirabrbub9NwTG5Xk#)gx%mAC@WA zy#YY+Yg z-rpufx{KXosnW}S>uA$k{nAR{jpYB~CswzKM8z7|S@b-H|5gO)9W~N=tU(U>AH_zU A9{>OV literal 0 HcmV?d00001 diff --git a/src/HYDRO_tests/reference_data/cs22_c.png b/src/HYDRO_tests/reference_data/cs22_c.png new file mode 100644 index 0000000000000000000000000000000000000000..8358bee8fba9f102e443c0c0d91791e75540332b GIT binary patch literal 5431 zcmeHKeKgeR+rQ_98L62OMI|#TsU=eK&diuev3aZAR@xYaS}8&jw(rDbw6ql3k{D&M z$x9)n#-LrLHxm+V+2o}m?*U?(yYl(Zj^c(7-|!FkT1hV~n8QhTTOFh4F=XItw2qg^ z*lnHYY5kMM#%z{~^VQh2kxQgV_gsD%4|B|qHk`5AK1#QDBYn+Wfx%{{ZO$g@PT7%a zn=kYY{_gv(rR{Boe59&DDwP-cJ6J{uhFXL(dkc>QZ9_v=|9Squd4OlU^Oh!Uk&#a2 z!O91JBGddyc_{{5Y$AJb5&YsC0jm->wgQ^11XtH{s?cLK>e^})1{{*$LdNR8%}J|n zO`@UL9b#f?-I8x_dfD$Wuf>Axc~mh`Z>&cnck<(VgI;1(6ZyfL$M?6e0v&ijv|R49 zUdr$~cud)Tk9IAVeYTg_DI&kQ)j{Vt82X@TsuHe;lrh)*DARs9m5!#J3X7M8#gE*) zww$!sZ~h99x&>L4qF8HV9!86~Oo+j<&xnbKMdY|n2Ldg)*)bU;rzqU?uV#Q{lm7)->l=~b$*g6Nhi3~R|8p%=~)v)2z3$94~3kAhe zw_*yz;sv)XZ<7{3QeOcK83-#=QF89Wb@nhzO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xbh7^%_U5E9#3bwb zRniYJB5+;V%GSs!W&JFBja;DPJD=0ZMYO^>-8031|3e1~)W zK|E~hQd{&y@CL-+d!%uHJkLz@c2xJo+oMl2*0djMO6drn5r;}BFVN1?;ih-cqdzwoKf9H`6W@3-oZb2O!<)`^rv!s#R|cA{Yjcm)n!F0>;a{eZ zMDHT8kALYIxU?>yXJF^P&@qoArDH8OS5AKt)FiGkpAaP8G#!4juq>dz`D(cO=ooag z;ziwyp3cdyyTi+-()s&BhO5xI!KKC?bs?b>L-A(gt-c*6IzzLv`e(u7gFzAlr}|FK z-1|B@-1RhktR2pIeag_47?bVI@OGDkvvt~pgnMcy=MLWbKtmzltP)De! zJ^bO>kwk%+0G*&qPD}~!~IQH$|mh>_Su$&zAW4G z6}zT$>OndduP!X^Ax*vCIx|&9QgMI$EeFrt_w8#}X_9^LP^oCTrxHt=y7K7r!-16g zOtWuzZLV-?w7xU+`O14!9lAG5{Chi24T)Jt>)>0~)+f*QM)sKozFy|w;a=}8ei`Pr z`q$1GL88!iG${C}`PT5oVdju7c@@?1ZVf?ShVu+Nsb{O|`k$fyfBGY@at4*crah~z R^HZ5syqRiedBegb;vW_&+M@sf literal 0 HcmV?d00001 diff --git a/src/HYDRO_tests/reference_data/ff1.brep b/src/HYDRO_tests/reference_data/ff1.brep new file mode 100644 index 00000000..ab2aa273 --- /dev/null +++ b/src/HYDRO_tests/reference_data/ff1.brep @@ -0,0 +1,41 @@ +DBRep_DrawableShape + +CASCADE Topology V1, (c) Matra-Datavision +Locations 0 +Curve2ds 0 +Curves 1 +2 0 0 0 0 0 1 1 0 -0 -0 1 0 10 +Polygon3D 0 +PolygonOnTriangulations 0 +Surfaces 1 +1 -5.4697605301576938e-016 6.8573650631575423e-016 0 0 0 1 1 0 -0 -0 1 0 +Triangulations 0 + +TShapes 4 +Ve +1e-007 +10 0 0 +0 0 + +0101101 +* +Ed + 1e-007 1 1 0 +1 1 0 0 6.28318530717959 +0 + +0101000 ++4 0 -4 0 * +Wi + +0101100 ++3 0 * +Fa +0 1e-007 1 0 + +1111000 ++2 0 * + ++1 0 +0 + diff --git a/src/HYDRO_tests/reference_data/ff2.brep b/src/HYDRO_tests/reference_data/ff2.brep new file mode 100644 index 00000000..3bb40652 --- /dev/null +++ b/src/HYDRO_tests/reference_data/ff2.brep @@ -0,0 +1,41 @@ +DBRep_DrawableShape + +CASCADE Topology V1, (c) Matra-Datavision +Locations 0 +Curve2ds 0 +Curves 1 +2 10 0 0 0 0 1 1 0 -0 -0 1 0 10 +Polygon3D 0 +PolygonOnTriangulations 0 +Surfaces 1 +1 10.000000000000002 6.8573650631575423e-016 0 0 0 1 1 0 -0 -0 1 0 +Triangulations 0 + +TShapes 4 +Ve +1e-007 +20 0 0 +0 0 + +0101101 +* +Ed + 1e-007 1 1 0 +1 1 0 0 6.28318530717959 +0 + +0101000 ++4 0 -4 0 * +Wi + +0101100 ++3 0 * +Fa +0 1e-007 1 0 + +1111000 ++2 0 * + ++1 0 +0 + diff --git a/src/HYDRO_tests/reference_data/ff3.brep b/src/HYDRO_tests/reference_data/ff3.brep new file mode 100644 index 00000000..e7104dcb --- /dev/null +++ b/src/HYDRO_tests/reference_data/ff3.brep @@ -0,0 +1,41 @@ +DBRep_DrawableShape + +CASCADE Topology V1, (c) Matra-Datavision +Locations 0 +Curve2ds 0 +Curves 1 +2 40 0 0 0 0 1 1 0 -0 -0 1 0 10 +Polygon3D 0 +PolygonOnTriangulations 0 +Surfaces 1 +1 39.999999999999993 1.3876045329998471e-016 0 0 0 1 1 0 -0 -0 1 0 +Triangulations 0 + +TShapes 4 +Ve +1e-007 +50 0 0 +0 0 + +0101101 +* +Ed + 1e-007 1 1 0 +1 1 0 0 6.28318530717959 +0 + +0101000 ++4 0 -4 0 * +Wi + +0101100 ++3 0 * +Fa +0 1e-007 1 0 + +1111000 ++2 0 * + ++1 0 +0 + diff --git a/src/HYDRO_tests/test_HYDROData_LandCoverMap.cxx b/src/HYDRO_tests/test_HYDROData_LandCoverMap.cxx index e1589b7b..00630ffd 100644 --- a/src/HYDRO_tests/test_HYDROData_LandCoverMap.cxx +++ b/src/HYDRO_tests/test_HYDROData_LandCoverMap.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2015 EDF-R&D +// Copyright (C) 2014-2015 EDF-R&D // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either @@ -253,7 +253,7 @@ void test_HYDROData_LandCoverMap::test_remove() aDoc->Close(); } -void test_HYDROData_LandCoverMap::test_merge_faces() +void test_HYDROData_LandCoverMap::test_merge_faces_boxes() { TopoDS_Shape pp1, pp2, pp3, pp4; BRep_Builder BB; @@ -267,7 +267,7 @@ void test_HYDROData_LandCoverMap::test_merge_faces() CPPUNIT_ASSERT(!pp3.IsNull()); CPPUNIT_ASSERT(!pp4.IsNull()); - //Test mergeFaces() func; USD == true + //Test mergeFaces() func // boxes // USD == true { TopTools_ListOfShape Faces; Faces.Append(pp1); @@ -309,7 +309,7 @@ void test_HYDROData_LandCoverMap::test_merge_faces() } // - //Test mergeFaces() func; USD == false + //Test mergeFaces() func // boxes // USD == false { TopTools_ListOfShape Faces; Faces.Append(pp1); @@ -335,7 +335,7 @@ void test_HYDROData_LandCoverMap::test_merge_faces() Faces.Append(pp4); TopoDS_Shape aMergedFace = HYDROData_LandCoverMap::MergeFaces( Faces, false ); TestViewer::show( aMergedFace, AIS_Shaded, true, "cs23" ); - CPPUNIT_ASSERT_IMAGES + CPPUNIT_ASSERT_IMAGES CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_SHELL); } { @@ -350,3 +350,99 @@ void test_HYDROData_LandCoverMap::test_merge_faces() CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_SHELL); } } + + +void test_HYDROData_LandCoverMap::test_merge_faces_circles() +{ + TopoDS_Shape ff1, ff2, ff3; + BRep_Builder BB; + BRepTools::Read(ff1, (REF_DATA_PATH + "/ff1.brep").toStdString().c_str(), BB); + BRepTools::Read(ff2, (REF_DATA_PATH + "/ff2.brep").toStdString().c_str(), BB); + BRepTools::Read(ff3, (REF_DATA_PATH + "/ff3.brep").toStdString().c_str(), BB); + + CPPUNIT_ASSERT(!ff1.IsNull()); + CPPUNIT_ASSERT(!ff2.IsNull()); + CPPUNIT_ASSERT(!ff3.IsNull()); + + //Test mergeFaces() func // circles // USD == true + { + TopTools_ListOfShape Faces; + Faces.Append(ff1); + Faces.Append(ff2); + TopoDS_Shape aMergedFace = HYDROData_LandCoverMap::MergeFaces( Faces, true ); + TestViewer::show( aMergedFace, AIS_Shaded, true, "cs11_c" ); + CPPUNIT_ASSERT_IMAGES + CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_FACE); + } + { + TopTools_ListOfShape Faces; + Faces.Append(ff1); + Faces.Append(ff3); + TopoDS_Shape aMergedFace = HYDROData_LandCoverMap::MergeFaces( Faces, true ); + TestViewer::show( aMergedFace, AIS_Shaded, true, "cs12_c" ); + CPPUNIT_ASSERT_IMAGES + CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_SHELL); + } + { + TopTools_ListOfShape Faces; + Faces.Append(ff1); + Faces.Append(ff2); + Faces.Append(ff3); + TopoDS_Shape aMergedFace = HYDROData_LandCoverMap::MergeFaces( Faces, true ); + TestViewer::show( aMergedFace, AIS_Shaded, true, "_cs13" ); + CPPUNIT_ASSERT_IMAGES + CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_SHELL); + } + { + TopTools_ListOfShape Faces; + Faces.Append(ff1); + Faces.Append(ff3); + Faces.Append(ff2); + TopoDS_Shape aMergedFace = HYDROData_LandCoverMap::MergeFaces( Faces, true ); + TestViewer::show( aMergedFace, AIS_Shaded, true, "cs14_c" ); + CPPUNIT_ASSERT_IMAGES + CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_SHELL); + } + // + + //Test mergeFaces() func // circles // USD == false + { + TopTools_ListOfShape Faces; + Faces.Append(ff1); + Faces.Append(ff2); + TopoDS_Shape aMergedFace = HYDROData_LandCoverMap::MergeFaces( Faces, false ); + TestViewer::show( aMergedFace, AIS_Shaded, true, "cs21_c" ); + CPPUNIT_ASSERT_IMAGES + CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_SHELL); + } + { + TopTools_ListOfShape Faces; + Faces.Append(ff1); + Faces.Append(ff3); + TopoDS_Shape aMergedFace = HYDROData_LandCoverMap::MergeFaces( Faces, false ); + TestViewer::show( aMergedFace, AIS_Shaded, true, "cs22_c" ); + CPPUNIT_ASSERT_IMAGES + CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_SHELL); + } + { + TopTools_ListOfShape Faces; + Faces.Append(ff1); + Faces.Append(ff2); + Faces.Append(ff3); + TopoDS_Shape aMergedFace = HYDROData_LandCoverMap::MergeFaces( Faces, false ); + TestViewer::show( aMergedFace, AIS_Shaded, true, "_cs23" ); + CPPUNIT_ASSERT_IMAGES + CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_SHELL); + } + { + TopTools_ListOfShape Faces; + Faces.Append(ff1); + Faces.Append(ff3); + Faces.Append(ff2); + TopoDS_Shape aMergedFace = HYDROData_LandCoverMap::MergeFaces( Faces, false ); + TestViewer::show( aMergedFace, AIS_Shaded, true, "cs24_c" ); + CPPUNIT_ASSERT_IMAGES + CPPUNIT_ASSERT(aMergedFace.ShapeType() == TopAbs_SHELL); + } + +} \ No newline at end of file diff --git a/src/HYDRO_tests/test_HYDROData_LandCoverMap.h b/src/HYDRO_tests/test_HYDROData_LandCoverMap.h index ea36880d..a891c39c 100644 --- a/src/HYDRO_tests/test_HYDROData_LandCoverMap.h +++ b/src/HYDRO_tests/test_HYDROData_LandCoverMap.h @@ -30,7 +30,8 @@ class test_HYDROData_LandCoverMap : public CppUnit::TestFixture CPPUNIT_TEST( test_incomplete_split ); CPPUNIT_TEST( test_merge ); CPPUNIT_TEST( test_remove ); - CPPUNIT_TEST( test_merge_faces ); + CPPUNIT_TEST( test_merge_faces_boxes ); + CPPUNIT_TEST( test_merge_faces_circles ); CPPUNIT_TEST_SUITE_END(); public: @@ -39,7 +40,8 @@ public: void test_incomplete_split(); void test_merge(); void test_remove(); - void test_merge_faces(); + void test_merge_faces_boxes(); + void test_merge_faces_circles(); }; CPPUNIT_TEST_SUITE_REGISTRATION( test_HYDROData_LandCoverMap ); -- 2.39.2