From d3e7e318cc76697d6d1af46d13355cdb44608b48 Mon Sep 17 00:00:00 2001 From: MateusStano <69485049+MateusStano@users.noreply.github.com> Date: Thu, 25 Jan 2024 12:35:38 -0300 Subject: [PATCH] Update tests/test_environment.py Co-authored-by: Gui-FernandesBR <63590233+Gui-FernandesBR@users.noreply.github.com> --- tests/test_environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_environment.py b/tests/test_environment.py index db80eea6d..c0876248c 100644 --- a/tests/test_environment.py +++ b/tests/test_environment.py @@ -73,7 +73,7 @@ def test_wyoming_sounding_atmosphere(mock_show, example_env): pass assert example_env.all_info() == None assert abs(example_env.pressure(0) - 93600.0) < 1e-8 - assert example_env.barometric_height(example_env.pressure(0)) == 722.0 + assert abs(example_env.barometric_height(example_env.pressure(0)) - 722.0) < 1e-8 assert abs(example_env.wind_velocity_x(0) - -2.9005178894925043) < 1e-8 assert abs(example_env.temperature(100) - 291.75) < 1e-8