diff --git a/src/main/py/calculations_with_roots.py b/src/main/py/calculations_with_roots.py new file mode 100644 index 0000000..3cf4ee6 --- /dev/null +++ b/src/main/py/calculations_with_roots.py @@ -0,0 +1,2 @@ +def multiplyRoots(first_number, second_number): + return 0 \ No newline at end of file diff --git a/src/test/py/test_calculations_with_roots.py b/src/test/py/test_calculations_with_roots.py new file mode 100644 index 0000000..713dcc2 --- /dev/null +++ b/src/test/py/test_calculations_with_roots.py @@ -0,0 +1,17 @@ +import unittest +from src.main.py.calculations_with_roots import * + + +class calculationsWithRoots(unittest.TestCase): + def setUp(self): + pass + + def tearDown(self): + pass + + def test_sqrt_0_times_sqrt_8_should_be_0(self): + self.assertEqual(multiplyRoots(0, 8), 0) + + +if __name__ == '__main__': + unittest.main()