예제 #1
0
        public void PigLatin_WhenOmeletAre_ReturnsOmeletayAreay()
        {
            string input  = "OMelet are";
            string output = PigLatin.ConvertToPigLatin(input);

            Assert.AreEqual("omeletay areay", output);
        }
예제 #2
0
        public void PigLatin_WhenAreEgg_ReturnsAreayEggay()
        {
            string input  = "ARE egg";
            string output = PigLatin.ConvertToPigLatin(input);

            Assert.AreEqual("areay eggay", output);
        }
예제 #3
0
        public void PigLatin_WhenLatinPig_ReturnsAtinlayIgpay()
        {
            string input  = "Latin Pig"; // ^_^
            string output = PigLatin.ConvertToPigLatin(input);

            Assert.AreEqual("atinlay igpay", output);
        }
예제 #4
0
        public void PigLatin_WhenEatOmelet_ReturnsEatayOmeletay()
        {
            string input  = "eat OMELET";
            string output = PigLatin.ConvertToPigLatin(input);

            Assert.AreEqual("eatay omeletay", output);
        }
예제 #5
0
        public void PigLatin_WhenBananaPoo_ReturnsAnanabayOopay()
        {
            string input  = "bAnAna POO";
            string output = PigLatin.ConvertToPigLatin(input);

            Assert.AreEqual("ananabay oopay", output);
        }
예제 #6
0
        public void PigLatin_WhenRealSay_ReturnsEalrayAysay()
        {
            string input  = "REAL SAY";
            string output = PigLatin.ConvertToPigLatin(input);

            Assert.AreEqual("ealray aysay", output);
        }
예제 #7
0
        public void PigLatin_WhenSmileString_ReturnsIlesmayIngstray()
        {
            string input  = "SmIlE strING";
            string output = PigLatin.ConvertToPigLatin(input);

            Assert.AreEqual("ilesmay ingstray", output);
        }
예제 #8
0
        public void PigLatin_WhenToo_ReturnsOotay()
        {
            string input  = "Too";
            string output = PigLatin.ConvertToPigLatin(input);

            Assert.AreEqual("ootay", output);
        }
예제 #9
0
        public void PigLatin_WhenThanks_ReturnsAnksthay()
        {
            string input  = "Thanks";
            string output = PigLatin.ConvertToPigLatin(input);

            Assert.AreEqual("anksthay", output);
        }
예제 #10
0
        public void PigLatin_WhenCheersShesh_ReturnsEerschayEshshay()
        {
            string input  = "cheers shesh";
            string output = PigLatin.ConvertToPigLatin(input);

            Assert.AreEqual("eerschay eshshay", output);
        }
예제 #11
0
        public void PigLatin_WhenString_ReturnsIngstray()
        {
            string input  = "STRING";
            string output = PigLatin.ConvertToPigLatin(input);

            Assert.AreEqual("ingstray", output);
        }
예제 #12
0
        public void PigLatin_WhenSmile_ReturnsIlesmay()
        {
            string input  = "SmilE";
            string output = PigLatin.ConvertToPigLatin(input);

            Assert.AreEqual("ilesmay", output);
        }
예제 #13
0
        public void PigLatin_WhenShesh_ReturnsEshshay()
        {
            string input  = "Shesh";
            string output = PigLatin.ConvertToPigLatin(input);

            Assert.AreEqual("eshshay", output);
        }
예제 #14
0
        public void PigLatin_WhenEggExplain_ReturnsEggayExplainay()
        {
            string input  = "egG explain";
            string output = PigLatin.ConvertToPigLatin(input);

            Assert.AreEqual("eggay explainay", output);
        }
예제 #15
0
        public void PigLatin_WhenThanksStupid_ReturnsAnksthayUpidstay()
        {
            string input  = "thanks stupid";
            string output = PigLatin.ConvertToPigLatin(input);

            Assert.AreEqual("anksthay upidstay", output);
        }
예제 #16
0
        public void PigLatin_WhenExplainAlways_ReturnsExplainayAlwaysay()
        {
            string input  = "explain always";
            string output = PigLatin.ConvertToPigLatin(input);

            Assert.AreEqual("explainay alwaysay", output);
        }
예제 #17
0
        public void PigLatin_WhenGloveTrash_ReturnsOveglayAshtray()
        {
            string input  = "glove trash";
            string output = PigLatin.ConvertToPigLatin(input);

            Assert.AreEqual("oveglay ashtray", output);
        }
예제 #18
0
        public void PigLatin_WhenSimple_ReturnsImplesay()
        {
            string input  = "Simple";
            string output = PigLatin.ConvertToPigLatin(input);

            Assert.AreEqual("implesay", output);
        }
예제 #19
0
        public void PigLatin_WhenGloveTrashThanksStupidSmile_ReturnsOveglayAshtray()
        {
            string input  = "glove trash thanks stupid SmIlE";
            string output = PigLatin.ConvertToPigLatin(input);

            Assert.AreEqual("oveglay ashtray anksthay upidstay ilesmay", output);
        }
예제 #20
0
        public void PigLatin_WhenHappyDuck_ReturnsAppyhayUckday()
        {
            string input  = "HAPPY duck";
            string output = PigLatin.ConvertToPigLatin(input);

            Assert.AreEqual("appyhay uckday", output);
        }
예제 #21
0
        public void PigLatin_WhenPig_ReturnsIgpay()
        {
            string input  = "pig";
            string output = PigLatin.ConvertToPigLatin(input);

            Assert.AreEqual("igpay", output);
        }
예제 #22
0
        public void PigLatin_WhenPooPoo_ReturnsOopayOopay()
        {
            string input  = "Poo poo"; // ^_^
            string output = PigLatin.ConvertToPigLatin(input);

            Assert.AreEqual("oopay oopay", output);
        }
예제 #23
0
        public void PigLatin_WhenBanana_ReturnsAnanabay()
        {
            //Arrange
            string input = "banana";

            //Act
            string output = PigLatin.ConvertToPigLatin(input);

            //Assert
            Assert.AreEqual("ananabay", output);
        }