From 545e16c06cbb09982e71e8f0e512d5e7d85c0f8d Mon Sep 17 00:00:00 2001 From: Eric Omielan <112828024+eomielan@users.noreply.github.com> Date: Sat, 26 Oct 2024 15:18:07 -0700 Subject: [PATCH] Resolve simulator unit test warnings (#446) --- .../tests/unit/nodes/physics_engine/test_fluids.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/boat_simulator/tests/unit/nodes/physics_engine/test_fluids.py b/src/boat_simulator/tests/unit/nodes/physics_engine/test_fluids.py index c9ff77711..645295a04 100644 --- a/src/boat_simulator/tests/unit/nodes/physics_engine/test_fluids.py +++ b/src/boat_simulator/tests/unit/nodes/physics_engine/test_fluids.py @@ -26,10 +26,10 @@ def test_velocity_constant(self, vector): @pytest.mark.parametrize( "mean, cov", [ - (np.array([1, 2, 0]), np.array([[2, 1, 1], [1, 2, 2], [3, 1, 2]])), - (np.array([4, 5, 3]), np.array([[3, 1, 2], [1, 3, 2], [1, 2, 2]])), - (np.array([100, 50, 20]), np.array([[10, 5, 5], [5, 10, 1], [6, 2, 5]])), - (np.array([120, 130, 40]), np.array([[10, 5, 0], [5, 10, 2], [1, 3, 5]])), + (np.array([1, 2, 0]), np.array([[2, 1, 1], [1, 2, 0.9], [1, 0.9, 1]])), + (np.array([4, 5, 3]), np.array([[3, 1, 1], [1, 3, 1], [1, 1, 2]])), + (np.array([100, 50, 20]), np.array([[10, 5, 5], [5, 10, 4.5], [5, 4.5, 5]])), + (np.array([120, 130, 40]), np.array([[10, 5, 1], [5, 10, 2], [1, 2, 5]])), ], ) def test_velocity_random(self, mean, cov):