Ejemplo 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")
Ejemplo 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?")
Ejemplo 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")
Ejemplo 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')
Ejemplo 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?')
Ejemplo 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')