Skip to content

Commit

Permalink
Issue Oslandia#200: Fixed benchmark test to read WKT triangle.
Browse files Browse the repository at this point in the history
* Experienced exception in ekt reader owing to fact that
  specified triangle is defined with 5 vertices (one duplicate),
  rather than 4.
  • Loading branch information
danielcumberbatch committed Nov 3, 2019
1 parent 879005f commit cf4d628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/bench/BenchWKT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ BOOST_AUTO_TEST_CASE( testReadTriangle )
bench().start( boost::format( "READ WKT TRIANGLE" ) ) ;

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

bench().stop();
Expand Down

0 comments on commit cf4d628

Please sign in to comment.