From 1a2b1c603ef9a7b0b0714169ecccc6f3033f1b4f Mon Sep 17 00:00:00 2001 From: Dmytro Chasovskykh <34194978+dmytrochasovskykh@users.noreply.github.com> Date: Wed, 15 Jun 2022 20:19:37 -0400 Subject: [PATCH 1/2] Create README.md --- README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..39b2e45 --- /dev/null +++ b/README.md @@ -0,0 +1,27 @@ +# learn-git +Hello Class! + +## Smaller head + +```js + +function foo() {} +``` + +
+ package.json + + + ``` + + { "huge": "bunch of stuff" } + + ``` +
+ + +
+

+ Click me +

+
From 1b76d61d0f5e555a6d3880c3c8f3ae196e38c15d Mon Sep 17 00:00:00 2001 From: Dmytro Chasovskykh Date: Wed, 15 Jun 2022 20:40:31 -0400 Subject: [PATCH 2/2] Add missing tests --- src/calc_test.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/calc_test.py b/src/calc_test.py index 2911910..50d20f0 100644 --- a/src/calc_test.py +++ b/src/calc_test.py @@ -17,6 +17,14 @@ 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): + # Make sure 4 - 3 - 1 = 0 + self.assertEqual(sub(4, 3, 1), 0, 'subtracting three from four and one') + + def test_sub_3arg_zeroes(self): + # Make sure 4 - 3 - 1 = 0 + self.assertEqual(sub(0, 0, 0), 0, 'subtracting from zero zero and zero') + if __name__ == '__main__': unittest.main()