From 5eb699edf1c59da46863d5e9537b97fad676bdb0 Mon Sep 17 00:00:00 2001 From: qhdwight Date: Thu, 18 Apr 2024 23:49:55 -0400 Subject: [PATCH] Fix bad unit test --- test/navigation/drive_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/navigation/drive_test.py b/test/navigation/drive_test.py index 3ca31840c..ce8db9fe7 100755 --- a/test/navigation/drive_test.py +++ b/test/navigation/drive_test.py @@ -45,7 +45,7 @@ def test_turn_right(self): print(cmd) print(done) self.assertLess(cmd.angular.z, 0.0) - self.assertEqual(cmd.angular.z, -0.7) + self.assertEqual(cmd.angular.z, -1.0) self.assertEqual(cmd.linear.x, 0.0) def test_turn_left(self): @@ -59,7 +59,7 @@ def test_turn_left(self): print(cmd) print(done) self.assertGreater(cmd.angular.z, 0.0) - self.assertEqual(cmd.angular.z, 0.7) + self.assertEqual(cmd.angular.z, 1.0) self.assertEqual(cmd.linear.x, 0.0) def test_straight_angle(self):