diff --git a/src/calc_test.py b/src/calc_test.py index 2911910..2953894 100644 --- a/src/calc_test.py +++ b/src/calc_test.py @@ -17,6 +17,9 @@ def test_sub_2arg(self): # Make sure 4 - 3 = 1 self.assertEqual(sub(4, 3), 1, 'subtracting three from four') + def test_sub_3arg(self): + self.assertEqual(sub(4, 3, 1), 0, 'subtracting three and one from four') + if __name__ == '__main__': unittest.main()