예제 #1
0
def test_word():
    assert v.word("hello")
    assert v.word("wonderful")
    assert v.word("zyggon")
    assert v.word("horse-dagger")
    assert v.word("18-wheeler")
    assert not v.word("")
    assert not v.word("12")
    assert not v.word("!!!")
    assert not v.word("bar*us")
예제 #2
0
def test_word():
    assert v.word("hello")
    assert v.word("wonderful")
    assert v.word("zyggon")
    assert v.word("horse-dagger")
    assert v.word("18-wheeler")
    assert not v.word("")
    assert not v.word("12")
    assert not v.word("!!!")
    assert not v.word("bar*us")