def test_Vocabulary(self): self.assertEqual(lab1.Vocabulary('', ''), "")
def test_Vocabulary(self): with self.assertRaises(IndexError): lab1.Vocabulary('hello hello hello hello', 'hello')
def test_Vocabulary(self): self.assertEqual( lab1.Vocabulary('hello hello hello hello', 'hello goodbye'), "goodbye goodbye goodbye goodbye")
def test_Vocabulary(self): self.assertEqual(lab1.Vocabulary('hello world', ''), "hello world")
def test_Vocabulary(self): self.assertEqual(lab1.Vocabulary('Privet mir', 'hello goodbye'), "Privet mir")
def test_Vocabulary(self): self.assertEqual(lab1.Vocabulary('hello world', 'hello goodbye'), "goodbye world")
def test_Vocabulary(self): self.assertEqual( lab1.Vocabulary('hello earth, hello mars, hello sun', 'hello goodbye\nsun moon'), "goodbye earth, goodbye mars, goodbye moon")