Skip to content

Commit 363f686

Browse files
committed
Added tests
1 parent 7e4b60b commit 363f686

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

test_my_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
def test_simple_math():
2+
assert 2 + 2 == 4

test_palidrome.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from strings.palindrome import is_palindrome
2+
3+
4+
def test_palindrome_true():
5+
assert is_palindrome("level") == True
6+
7+
8+
def test_palindrome_false():
9+
assert is_palindrome("hello") == False

0 commit comments

Comments
 (0)