Beispiel #1
0
        public void CamelString_Test()
        {
            GroupTwoFunctions g2 = new GroupTwoFunctions();

            Assert.Equal("aHlAm", g2.CamelString("ahlam"));
            Assert.Equal("mElBoUrNe", g2.CamelString("Melbourne"));
            Assert.Equal("mElBoUrNe vIc", g2.CamelString("Melbourne Vic"));
            Assert.Equal(" MeLbOuRnE ViC", g2.CamelString(" melbourne vic"));
            Assert.Equal("mElBoUrNe", g2.CamelString("MELBOURNE"));
        }
        public void CamelString_test(string expected, string input)
        {
            GroupTwoFunctions G1 = new GroupTwoFunctions();

            ;
            Assert.Equal(expected, G1.CamelString());
        }
        public void CamelString(string expected, string word)
        {
            var ml     = new GroupTwoFunctions();
            var result = ml.CamelString(word);

            Assert.Equal(result, expected);
        }
Beispiel #4
0
 /*
  * again not sure what the question is (the function return)
  * I do suppose the function will return a line in camelCase like below  AND yes i love barbie girld
  */
 public void CamelString_Test(string expec, string word)
 {
     Assert.Equal(expec, FunctiontoTest.CamelString(word));
 }
Beispiel #5
0
 public void CamelString_Test(string expected, string word) {
     Assert.Equal(expected, x.CamelString(word));
 }
Beispiel #6
0
 public void CamelString_Test(string answere, string word)
 {
     Assert.Equal(answere, z.CamelString(word));
 }
Beispiel #7
0
        public void CamelString_Test(string expected, string input)
        {
            GroupTwoFunctions GTF = new GroupTwoFunctions();

            Assert.Equals(expected, GTF.CamelString(input));
        }