Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Test tolerance
  • Loading branch information
nyalldawson committed May 26, 2023
1 parent 92590f5 commit a5e4017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/python/test_qgsrasterlayerprofilegenerator.py
Expand Up @@ -87,7 +87,7 @@ def testGeneration(self):
self.assertAlmostEqual(features[0].attributes['elevation'], 154.0, 0)
self.assertEqual(features[0].geometry.asWkt(-2), 'PointZ (-348100 6633700 200)')
self.assertEqual(features[-1].geometry.asWkt(-2), 'PointZ (-345800 6631600 100)')
self.assertAlmostEqual(features[-1].attributes['distance'], 3392.69, 0)
self.assertAlmostEqual(features[-1].attributes['distance'], 3392.69, -1)
self.assertAlmostEqual(features[-1].attributes['elevation'], 99.0, 0)

def testGenerationWithStepSize(self):
Expand Down

0 comments on commit a5e4017

Please sign in to comment.