Esempio n. 1
0
 def test_free_beer(self):
     a = "Free beer"
     most_similar = get_most_similar(a, *self.database)
     self.assertEqual(most_similar, "Freedom as in speak")
Esempio n. 2
0
 def test_where_is_my_dog(self):
     a = "Where is my dog?"
     most_similar = get_most_similar(a, *self.database)
     self.assertEqual(most_similar, "Where is my cat?")
Esempio n. 3
0
 def test_good_evening(self):
     a = "Good evening"
     most_similar = get_most_similar(a, *self.database)
     self.assertEqual(most_similar, "Good morning")
Esempio n. 4
0
 def test_free_beer(self):
     a = 'Free beer'
     most_similar = get_most_similar(a, *self.database)
     self.assertEqual(most_similar, 'Freedom as in speak')
Esempio n. 5
0
 def test_where_is_my_dog(self):
     a = 'Where is my dog?'
     most_similar = get_most_similar(a, *self.database)
     self.assertEqual(most_similar, 'Where is my cat?')
Esempio n. 6
0
 def test_good_evening(self):
     a = 'Good evening'
     most_similar = get_most_similar(a, *self.database)
     self.assertEqual(most_similar, 'Good morning')