import unittest
import translator

class TestFrToEn(unittest.TestCase):
    def test_translateBonjour(self):
        frenchText = 'Bonjour'
        transatedText = translator.fr_to_en(frenchText)
        self.assertEquals(transatedText, "Hello")

class TestEnToFr(unittest.TestCase):
    def test_translateHello(self):
        englishText = 'Hello'
        transatedText = translator.en_to_fr(englishText)
        self.assertEquals(transatedText, "Bonjour")


if __name__ == '__main__':
    unittest.main()

# I'M YIGIT OPANN