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)