Exemple #1
0
 def test_right_example(self):
     assert tasks.task1("asd dsa") == ["asd dsa"]
Exemple #2
0
 def test_empty_string(self):
     assert tasks.task1("") == ""
Exemple #3
0
 def test_notright_example(self):
     assert tasks.task1("as6 6sa") == ""
Exemple #4
0
 def test_three_words(self):
     assert tasks.task1("asd dsa abc") == ["asd dsa", "dsa abc"]
Exemple #5
0
 def test_one_word(self):
     assert tasks.task1("asd") == ""