From bd56787b1e59060bca1cb53448dfbc4074fe1d38 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Mon, 4 Mar 2019 20:09:27 +0000 Subject: [PATCH 1/1] Add standalone unit testing functions --- 1_standalone.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 1_standalone.py diff --git a/1_standalone.py b/1_standalone.py new file mode 100644 index 0000000..7c79d25 --- /dev/null +++ b/1_standalone.py @@ -0,0 +1,9 @@ +def test_square_of_2(): + assert 2**2 == 4 + +def test_fibonacci_of_5(): + assert 1+1+2+3+5 == 12 + +def test_fibonacci_of_10(): + # This should fail + assert 1+1+2+3+5+8+0 == 143 -- 2.46.2