Beispiel #1
0
 def test_check_pyramid_word_banana(self):
     result = check_pyramid_word('banana')
     assert result
Beispiel #2
0
 def test_check_pyramid_word_with_caps(self):
     result = check_pyramid_word('Dad')
     assert result == True
Beispiel #3
0
 def test_check_pyramid_word_test(self):
     result = check_pyramid_word('dad')
     assert result == True
Beispiel #4
0
 def test_check_pyramid_word_with_space(self):
     result = check_pyramid_word('dd hhh')
     assert result == False
Beispiel #5
0
 def test_check_pyramid_word_accfffggggwwwww(self):
     result = check_pyramid_word('accfffggggwwwww')
     assert result == True