Exemplo n.º 1
0
def test_end_of_story():
    story = triagram.write_story()
    assert (story[-1] == "." or story[-1] == "?" or story[-1] == "!")
Exemplo n.º 2
0
def test_end_of_story():
    story = triagram.write_story()
    assert(story[-1] == "." or story[-1] == "?" or
           story[-1] == "!")
Exemplo n.º 3
0
def test_length_of_story():
    story = triagram.write_story()
    words = story.split(" ")
    assert (len(words) >= 300)
Exemplo n.º 4
0
def test_length_of_story():
    story = triagram.write_story()
    words = story.split(" ")
    assert(len(words) >= 300)