From d32afafc42a7c7c0b9f706ccf24bca623fae5776 Mon Sep 17 00:00:00 2001 From: Christian Liebhardt Date: Fri, 25 Aug 2023 15:06:24 +0200 Subject: [PATCH] Added a test case as example --- tests/utils_test.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/utils_test.py diff --git a/tests/utils_test.py b/tests/utils_test.py new file mode 100644 index 0000000..4c8b745 --- /dev/null +++ b/tests/utils_test.py @@ -0,0 +1,5 @@ +from oemer.utils import slope_to_degree + + +def test_slope_to_degree(): + assert slope_to_degree(0.3, 0.3) == 45.0 \ No newline at end of file