Skip to content
Snippets Groups Projects
Commit 507f0058 authored by Taya Snijder's avatar Taya Snijder
Browse files

fixed function

parent 2e27277b
No related branches found
No related tags found
1 merge request!229Resolve L2SS-554 "Delay pointing unit tests"
......@@ -39,7 +39,7 @@ class TestAttributeTypes(base.TestCase):
pointing = d.measure.direction(*direction)
dir = d.get_direction_vector(pointing)
self.assertTrue(0.98 <= sqrt(pow(dir[0],2) + pow(dir[1],2) + pow(dir[2],2)) <= 1.02)
self.assertTrue(0.95 <= sqrt(pow(dir[0],2) + pow(dir[1],2)) <= 1.05)
def test_identical_location(self):
# # create a frame tied to the reference position
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment