Skip to content

Commit

Permalink
one more test
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartoletti authored and github-actions[bot] committed Dec 7, 2021
1 parent 26618f1 commit 55010fc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/src/core/geometry/testqgstriangle.cpp
Expand Up @@ -835,6 +835,11 @@ void TestQgsTriangle::angles()
QGSCOMPARENEAR( angles.at( 1 ), 0.9097531, 0.0001 );
QGSCOMPARENEAR( angles.at( 2 ), 1.2490457, 0.0001 );

tr = QgsTriangle( QgsPoint( 78598.328125, 330538.375, 0 ), QgsPoint( 78606.3203125, 330544, 0 ), QgsPoint( 78601.46875, 330550.90625, 0 ) );
angles = tr.angles();
QGSCOMPARENEAR( angles.at( 0 ), 0.7119510, 0.0001 );
QGSCOMPARENEAR( angles.at( 1 ), 1.5716821, 0.0001 );
QGSCOMPARENEAR( angles.at( 2 ), 0.8579596, 0.0001 );
}

void TestQgsTriangle::lengths()
Expand Down

0 comments on commit 55010fc

Please sign in to comment.