Example #1
0
def test_dog_initialization():
    d = my_class.Dog("Azor")
    assert d.name == "Azor"
Example #2
0
def test_dog_speak():
    d = my_class.Dog("Azor")
    assert d.speak() == "hau-hau. Jestem Azor"
Example #3
0
def test_dog_initialization():
    d = my_class.Dog('Azor')
    assert d.name == 'Azor'
Example #4
0
def test_dog_speak():
    d = my_class.Dog('Azor')
    assert d.speak() == 'hau hau. Jestem Azor.'
Example #5
0
def test_dog_speak():
    d = my_class.Dog('Azor')
    assert d.speak() == 'Jestem Azor "hau-hau"'