From 615e34e01b1b7388c44497d651cc6fa85141857e Mon Sep 17 00:00:00 2001 From: unknown <201116866+pyBlockDev@users.noreply.github.com> Date: Wed, 21 May 2025 17:02:16 +0200 Subject: [PATCH 1/4] added line --- faculty_test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/faculty_test.py b/faculty_test.py index e32c336..afa59e0 100644 --- a/faculty_test.py +++ b/faculty_test.py @@ -6,6 +6,8 @@ def test5(self): self.assertEqual(my_faculty(5), 120) def test0(self): self.assertEqual(my_faculty(0), 1) + def test1(self): + self.assertEqual(my_faculty(1), 1) def testEnviron(self): self.assertEqual(my_faculty("NFAK"), 1) From 3c20518eaf5b1c001b56510be1d139c141e457a1 Mon Sep 17 00:00:00 2001 From: unknown <201116866+pyBlockDev@users.noreply.github.com> Date: Wed, 21 May 2025 19:31:14 +0200 Subject: [PATCH 2/4] added testcase 2 --- faculty_test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/faculty_test.py b/faculty_test.py index afa59e0..97e31bf 100644 --- a/faculty_test.py +++ b/faculty_test.py @@ -8,6 +8,8 @@ def test0(self): self.assertEqual(my_faculty(0), 1) def test1(self): self.assertEqual(my_faculty(1), 1) + def test1(self): + self.assertEqual(my_faculty(2), 2) def testEnviron(self): self.assertEqual(my_faculty("NFAK"), 1) From 1b1a4b79a92129ea4e37f9b0901749f883afe882 Mon Sep 17 00:00:00 2001 From: unknown <201116866+pyBlockDev@users.noreply.github.com> Date: Wed, 21 May 2025 19:35:07 +0200 Subject: [PATCH 3/4] added testcase 3 --- faculty_test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/faculty_test.py b/faculty_test.py index 97e31bf..9d31e52 100644 --- a/faculty_test.py +++ b/faculty_test.py @@ -10,6 +10,8 @@ def test1(self): self.assertEqual(my_faculty(1), 1) def test1(self): self.assertEqual(my_faculty(2), 2) + def test1(self): + self.assertEqual(my_faculty(3), 6) def testEnviron(self): self.assertEqual(my_faculty("NFAK"), 1) From a6dbfffbf7c5f6ced488347f692d088dbf4bf21e Mon Sep 17 00:00:00 2001 From: unknown <201116866+pyBlockDev@users.noreply.github.com> Date: Wed, 21 May 2025 19:38:41 +0200 Subject: [PATCH 4/4] corrected method names --- faculty_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/faculty_test.py b/faculty_test.py index 9d31e52..8570dfe 100644 --- a/faculty_test.py +++ b/faculty_test.py @@ -8,9 +8,9 @@ def test0(self): self.assertEqual(my_faculty(0), 1) def test1(self): self.assertEqual(my_faculty(1), 1) - def test1(self): + def test2(self): self.assertEqual(my_faculty(2), 2) - def test1(self): + def test3(self): self.assertEqual(my_faculty(3), 6) def testEnviron(self): self.assertEqual(my_faculty("NFAK"), 1)