Skip to content

Commit cf4d628

Browse files
Issue Oslandia#200: Fixed benchmark test to read WKT triangle.
* Experienced exception in ekt reader owing to fact that specified triangle is defined with 5 vertices (one duplicate), rather than 4.
1 parent 879005f commit cf4d628

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/bench/BenchWKT.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ BOOST_AUTO_TEST_CASE( testReadTriangle )
9999
bench().start( boost::format( "READ WKT TRIANGLE" ) ) ;
100100

101101
for ( int i = 0; i < N; i++ ) {
102-
io::readWkt( "TRIANGLE((0 0,0 1000,1000 1000,1000 0,0 0))" ) ;
102+
io::readWkt( "TRIANGLE((0 0,0 1000,1000 1000,0 0))" ) ;
103103
}
104104

105105
bench().stop();

0 commit comments

Comments
 (0)