Ejemplo n.º 1
0
def test_panagram_true():
    sentence = "the quick brown fox jumps over the lazy dog" 
    assert exercise.panagram(sentence) == True
Ejemplo n.º 2
0
def test_panagram_true_with_punctuation():
    sentence = "The quick brown fox jumps over the lazy dog."
    assert exercise.panagram(sentence) == True
Ejemplo n.º 3
0
def test_panagram_false():
    sentence = "the quick brown fox jumped over the lazy dog" # s is missing
    assert exercise.panagram(sentence) == False
Ejemplo n.º 4
0
def test_panagram_false_with_punctuation():
    sentence = "The quick brown fox jumped over the lazy dog." # s is missing
    assert exercise.panagram(sentence) == False
Ejemplo n.º 5
0
def test_pangram2():
    a = exercise.panagram("The Quick brown Fox jumps over the lazy dog")
    e = True
    assert a == e
Ejemplo n.º 6
0
def test_pangram1():
    a = exercise.panagram("The quick brown fox jumped over the lazy dog")
    e = False
    assert a == e