From 85bd9119596628c21fbe0b5a2716d79c6313aa79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dorian=20Pu=C5=82a?= Date: Wed, 6 Nov 2019 20:16:25 -0500 Subject: [PATCH] Update the tests. --- test.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test.py b/test.py index cc56167..7a5d854 100644 --- a/test.py +++ b/test.py @@ -12,6 +12,11 @@ def test_using_unit_converter(): assert python_unit_converter(25.0) == 77.0 +def test_windchill(): + temperature = unit_converter.Temperature(-20.0) + assert round(temperature.windchill(32.0), 1) == -32.9 + + def test_using_python_constant(benchmark): result = benchmark(python_unit_converter, 25.0) assert round(result, 3) == round(77.0, 3)