diff --git a/pythoncalculator/ncrogers_multiply.py b/pythoncalculator/ncrogers_multiply.py new file mode 100644 index 0000000..43dfa55 --- /dev/null +++ b/pythoncalculator/ncrogers_multiply.py @@ -0,0 +1,2 @@ +def multiply(x, y): + return x * y \ No newline at end of file diff --git a/tests/test_ncrogers_multiply.py b/tests/test_ncrogers_multiply.py new file mode 100644 index 0000000..665e588 --- /dev/null +++ b/tests/test_ncrogers_multiply.py @@ -0,0 +1,5 @@ +from pythoncalculator.ncrogers_multiply import multiply + + +def test_multiply(): + assert multiply(10, 3) == 30