예제 #1
0
def test_no_cat_dog():
    assert cat_dog('fishfishfish')


# cat_dog('catdog') → True
# cat_dog('catcat') → False
# cat_dog('1cat1cadodog') → True
예제 #2
0
def test_no_cat_dog():
    assert cat_dog('fishfishfish')



# cat_dog('catdog') → True
# cat_dog('catcat') → False
# cat_dog('1cat1cadodog') → True
예제 #3
0
def test_false_string():
    assert not cat_dog('catcat')
예제 #4
0
def test_true_string():
    assert cat_dog('catdog')
    assert cat_dog('1cat1cadodog')
예제 #5
0
def test_false_string():
    assert not cat_dog('catcat')
예제 #6
0
def test_true_string():
    assert cat_dog('catdog')
    assert cat_dog('1cat1cadodog')