From 665416e9717b09354d4111ca7c7137b2f15fe140 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Sun, 24 Oct 2021 18:21:16 -0400 Subject: [PATCH] [+] A3 P4 Q2 TestCalculateMr --- assignments/a3/a3_part4_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assignments/a3/a3_part4_tests.py b/assignments/a3/a3_part4_tests.py index 71548f3..2342433 100644 --- a/assignments/a3/a3_part4_tests.py +++ b/assignments/a3/a3_part4_tests.py @@ -28,11 +28,11 @@ class TestCalculateMr: def test_equation_3a_branch(self) -> None: """Test the branch calculate_mr that contains Equation 3a.""" - # TODO: Complete this unit test and remove this TODO + assert 123.82 == pytest.approx(ffwi.calculate_mr(2.4, 80)) def test_equation_3b_branch(self) -> None: """Test the branch calculate_mr that contains Equation 3b.""" - # TODO: Complete this unit test and remove this TODO + assert 182.80 == pytest.approx(ffwi.calculate_mr(2.4, 155)) class TestCalculateM: