Ejemplo n.º 1
0
        public void TestMethod6()
        {
            //Arrange
            string str      = "nuE";
            string expected = "N-Uu-Eee";
            //Act
            string actual = Challenge126.Accum(str);

            //Assert
            Assert.AreEqual(expected, actual);
        }
Ejemplo n.º 2
0
        public void TestMethod7()
        {
            //Arrange
            string str      = "RlDrhZuQaqsoHEfziByObtMxkFCJVe";
            string expected = "R-Ll-Ddd-Rrrr-Hhhhh-Zzzzzz-Uuuuuuu-Qqqqqqqq-Aaaaaaaaa-Qqqqqqqqqq-Sssssssssss-Oooooooooooo-Hhhhhhhhhhhhh-Eeeeeeeeeeeeee-Fffffffffffffff-Zzzzzzzzzzzzzzzz-Iiiiiiiiiiiiiiiii-Bbbbbbbbbbbbbbbbbb-Yyyyyyyyyyyyyyyyyyy-Oooooooooooooooooooo-Bbbbbbbbbbbbbbbbbbbbb-Tttttttttttttttttttttt-Mmmmmmmmmmmmmmmmmmmmmmm-Xxxxxxxxxxxxxxxxxxxxxxxx-Kkkkkkkkkkkkkkkkkkkkkkkkk-Ffffffffffffffffffffffffff-Ccccccccccccccccccccccccccc-Jjjjjjjjjjjjjjjjjjjjjjjjjjjj-Vvvvvvvvvvvvvvvvvvvvvvvvvvvvv-Eeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
            //Act
            string actual = Challenge126.Accum(str);

            //Assert
            Assert.AreEqual(expected, actual);
        }
Ejemplo n.º 3
0
        public void TestMethod4()
        {
            //Arrange
            string str      = "VgyCdnQa";
            string expected = "V-Gg-Yyy-Cccc-Ddddd-Nnnnnn-Qqqqqqq-Aaaaaaaa";
            //Act
            string actual = Challenge126.Accum(str);

            //Assert
            Assert.AreEqual(expected, actual);
        }
Ejemplo n.º 4
0
        public void TestMethod5()
        {
            //Arrange
            string str      = "nRBSdNOsMl";
            string expected = "N-Rr-Bbb-Ssss-Ddddd-Nnnnnn-Ooooooo-Ssssssss-Mmmmmmmmm-Llllllllll";
            //Act
            string actual = Challenge126.Accum(str);

            //Assert
            Assert.AreEqual(expected, actual);
        }
Ejemplo n.º 5
0
        public void TestMethod3()
        {
            //Arrange
            string str      = "cwAt";
            string expected = "C-Ww-Aaa-Tttt";
            //Act
            string actual = Challenge126.Accum(str);

            //Assert
            Assert.AreEqual(expected, actual);
        }
Ejemplo n.º 6
0
        public void TestMethod2()
        {
            //Arrange
            string str      = "RqaEzty";
            string expected = "R-Qq-Aaa-Eeee-Zzzzz-Tttttt-Yyyyyyy";
            //Act
            string actual = Challenge126.Accum(str);

            //Assert
            Assert.AreEqual(expected, actual);
        }
Ejemplo n.º 7
0
        public void TestMethod10()
        {
            //Arrange
            string str      = "g";
            string expected = "G";
            //Act
            string actual = Challenge126.Accum(str);

            //Assert
            Assert.AreEqual(expected, actual);
        }
Ejemplo n.º 8
0
        public void TestMethod8()
        {
            //Arrange
            string str      = "EXpzPFx";
            string expected = "E-Xx-Ppp-Zzzz-Ppppp-Ffffff-Xxxxxxx";
            //Act
            string actual = Challenge126.Accum(str);

            //Assert
            Assert.AreEqual(expected, actual);
        }
Ejemplo n.º 9
0
        public void TestMethod1()
        {
            //Arrange
            string str      = "abcd";
            string expected = "A-Bb-Ccc-Dddd";
            //Act
            string actual = Challenge126.Accum(str);

            //Assert
            Assert.AreEqual(expected, actual);
        }