diff --git a/calculator.py b/tests/dummy_test/calculator.py similarity index 100% rename from calculator.py rename to tests/dummy_test/calculator.py diff --git a/tests/dummy_test/calculator_test.py b/tests/dummy_test/calculator_test.py index 6a64e4b..ef8324c 100644 --- a/tests/dummy_test/calculator_test.py +++ b/tests/dummy_test/calculator_test.py @@ -1,4 +1,4 @@ -from calculator import Calculator +from .calculator import Calculator def test_add(): assert Calculator.add(1, 2) == 3.0 @@ -15,12 +15,12 @@ def test_subtract(): assert Calculator.subtract(2.0, 0.0) == 2.0 assert Calculator.subtract(-4, 2.0) == -6.0 -def test_multiply(): - assert Calculator.multiply(1, 2) == 2.0 - assert Calculator.multiply(1.0, 2.0) == 2.0 - assert Calculator.multiply(0, 2.0) == 0.0 - assert Calculator.multiply(2.0, 0.0) == 0.0 - assert Calculator.multiply(-4, 2.0) == -8.0 +# def test_multiply(): +# assert Calculator.multiply(1, 2) == 2.0 +# assert Calculator.multiply(1.0, 2.0) == 2.0 +# assert Calculator.multiply(0, 2.0) == 0.0 +# assert Calculator.multiply(2.0, 0.0) == 0.0 +# assert Calculator.multiply(-4, 2.0) == -8.0 # def test_divide(): # assert Calculator.divide(1, 2) == 0.5