예제 #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"));
        }
예제 #2
0
        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);
        }
예제 #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));
 }
예제 #5
0
 public void CamelString_Test(string expected, string word) {
     Assert.Equal(expected, x.CamelString(word));
 }
예제 #6
0
 public void CamelString_Test(string answere, string word)
 {
     Assert.Equal(answere, z.CamelString(word));
 }
예제 #7
0
        public void CamelString_Test(string expected, string input)
        {
            GroupTwoFunctions GTF = new GroupTwoFunctions();

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