public void ValueUnformattedExtractionSuccessCaseTest1()
        {
            string           expected       = "to look [sb] over";
            LanguageDirector director       = new LanguageDirector();
            LanguageBuilder  englishBuilder = new LanguageEnglishBuilder("to look [sb] over");

            director.ConstructUnformattedImport(englishBuilder);

            string actual = englishBuilder.GetResult().Value;

            Assert.AreEqual(expected, actual);
        }
        public void ValueUnformattedExtractionSuccessCaseTest2()
        {
            string           expected = "regarder";
            LanguageDirector director = new LanguageDirector();

            LanguageBuilder frenchBuilder = new LanguageFrenchBuilder("regarder, examiner");

            director.ConstructUnformattedImport(frenchBuilder);
            string actual = frenchBuilder.GetResult().Value;

            Assert.AreEqual(expected, actual);
        }
        public void ExempleUnformattedExtractionSuccessCaseTest2()
        {
            string           expected       = "";
            LanguageDirector director       = new LanguageDirector();
            LanguageBuilder  englishBuilder = new LanguageEnglishBuilder("to carry out");

            director.ConstructUnformattedImport(englishBuilder);

            string actual = englishBuilder.GetResult().Example;

            Assert.AreEqual(expected, actual);
        }
        public void ExempleUnformattedExtractionSuccessCaseTest1()
        {
            string           expected = "you must carry out the instructions carefully";
            LanguageDirector director = new LanguageDirector();

            LanguageBuilder frenchBuilder = new LanguageFrenchBuilder("effectuer, réaliser, mener, mener à éxécution, suivre ex: you must carry out the instructions carefully");

            director.ConstructUnformattedImport(frenchBuilder);
            string actual = frenchBuilder.GetResult().Example;

            Assert.AreEqual(expected, actual);
        }
        public void VerbTypeUnformattedExtractionSuccessCaseTest1()
        {
            Language.Types   expected = English.Types.verb;
            LanguageDirector director = new LanguageDirector();

            LanguageBuilder englishBuilder = new LanguageEnglishBuilder("to faint");

            director.ConstructUnformattedImport(englishBuilder);
            englishBuilder.ProceedGetType();

            Language.Types actual = englishBuilder.GetResult().Type;
            Assert.AreEqual(expected, actual);
        }
        public void CommentUnformattedExtractionSuccessCaseTest1()
        {
            string           expected = "vacances";
            LanguageDirector director = new LanguageDirector();

            LanguageBuilder frenchBuilder = new LanguageFrenchBuilder("reporter à(vacances)");

            director.ConstructUnformattedImport(frenchBuilder);

            string actual = frenchBuilder.GetResult().Comment;

            Assert.AreEqual(expected, actual);
        }
        public void SynonymsUnformattedExtractionSuccessCaseTest2()
        {
            List <string> expected    = new List <string> {
            };
            LanguageDirector director = new LanguageDirector();

            LanguageBuilder englishBuilder = new LanguageEnglishBuilder("to carry out");

            director.ConstructUnformattedImport(englishBuilder);

            List <string> actual = englishBuilder.GetResult().Synonysms;

            CollectionAssert.AreEqual(expected, actual);
        }
        public void SynonymsUnformattedExtractionSuccessCaseTest1()
        {
            List <string> expected = new List <string> {
                "réaliser", "mener", "mener à éxécution", "suivre"
            };
            LanguageDirector director = new LanguageDirector();

            LanguageBuilder frenchBuilder = new LanguageFrenchBuilder("effectuer, réaliser, mener, mener à éxécution, suivre ex: you must carry out the instructions carefully");

            director.ConstructUnformattedImport(frenchBuilder);

            List <string> actual = frenchBuilder.GetResult().Synonysms;

            CollectionAssert.AreEqual(expected, actual);
        }