[geos-commits] r3900 - trunk/tests/unit/triangulate/quadedge
svn_geos at osgeo.org
svn_geos at osgeo.org
Tue Aug 20 05:15:20 PDT 2013
Author: strk
Date: 2013-08-20 05:15:20 -0700 (Tue, 20 Aug 2013)
New Revision: 3900
Modified:
trunk/tests/unit/triangulate/quadedge/VertexTest.cpp
Log:
Simplify Vertext test
Modified: trunk/tests/unit/triangulate/quadedge/VertexTest.cpp
===================================================================
--- trunk/tests/unit/triangulate/quadedge/VertexTest.cpp 2013-08-20 12:15:03 UTC (rev 3899)
+++ trunk/tests/unit/triangulate/quadedge/VertexTest.cpp 2013-08-20 12:15:20 UTC (rev 3900)
@@ -48,11 +48,11 @@
Vertex v4(10,30);
Vertex v5(10,10);
- ensure_equals(v1<v2,1);
- ensure_equals(v1<v3,0u);
- ensure_equals(v1<v4,1u);
- ensure_equals(v1<v5,0u);
- ensure_equals(v4<v5,0u);
+ ensure(v1<v2);
+ ensure(!(v1<v3));
+ ensure(v1<v4);
+ ensure(!(v1<v5));
+ ensure(!(v4<v5));
}
} // namespace tut
More information about the geos-commits
mailing list