Skip to content

Commit 2658b7a

Browse files
committed
update test files
1 parent e1b4b4d commit 2658b7a

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

A0/hello/tests/test_unit_hello.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,3 @@ class TestHello(unittest.TestCase):
1717
def test1_answer(self) -> None:
1818
"""Test hello.py answer function"""
1919
self.assertEqual(answer(), 'Hello World!', "Test failed...")
20-
21-
22-
if __name__ == "__main__":
23-
unittest.main(verbosity=2)

A1/cold/tests/test_cold.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,3 @@ def test_answer() -> None:
2020
assert answer([12, -4, -56, -4544545, 64, 46464]) == 3
2121
assert answer([0, 453445, -1, -100, -45454, -44445]) == 4
2222
assert answer1('0 453445 -1 -100 -45454 -44445') == 4
23-
print('all test casses passed...', file=sys.stderr)
24-
25-
26-
if __name__ == "__main__":
27-
# Don't need to call test_answer() if we use pytest
28-
test_answer()

0 commit comments

Comments
 (0)