Exemple #1
0
 def test_remove_pronouns_from_user_input_correct_pronoun_removal1(self):
     assert remove_pronouns_from_user_input("j'irai") == "irai"
Exemple #2
0
 def test_remove_pronouns_from_user_input_correct_pronoun_removal10(self):
     assert remove_pronouns_from_user_input("elles vont") == "vont"
     assert remove_pronouns_from_user_input("ellesvont") == "vont"
Exemple #3
0
 def test_remove_pronouns_from_user_input_no_removal(self):
     assert remove_pronouns_from_user_input("foo") == "foo"
Exemple #4
0
 def test_remove_pronouns_from_user_input_correct_pronoun_removal8(self):
     assert remove_pronouns_from_user_input("vous allez") == "allez"
     assert remove_pronouns_from_user_input("vousallez") == "allez"
Exemple #5
0
 def test_remove_pronouns_from_user_input_correct_pronoun_removal7(self):
     assert remove_pronouns_from_user_input("nous allons") == "allons"
     assert remove_pronouns_from_user_input("nousallons") == "allons"
Exemple #6
0
 def test_remove_pronouns_from_user_input_correct_pronoun_removal6(self):
     assert remove_pronouns_from_user_input("on va") == "va"
     assert remove_pronouns_from_user_input("onva") == "va"
Exemple #7
0
 def test_remove_pronouns_from_user_input_correct_pronoun_removal3(self):
     assert remove_pronouns_from_user_input("tu vas") == "vas"
     assert remove_pronouns_from_user_input("tuvas") == "vas"
Exemple #8
0
 def test_remove_pronouns_from_user_input_correct_pronoun_removal2(self):
     assert remove_pronouns_from_user_input("je vais") == "vais"
     assert remove_pronouns_from_user_input("jevais") == "vais"