Example #1
0
 public void FindLongestWord(string test, string result)
 {
     Assert.Equal(result, FunctionJunction.FindLongestWord(test));
 }
Example #2
0
 public void Rovarspraket(string test, string result)
 {
     Assert.Equal(result, FunctionJunction.Rovarspraket(test));
 }
Example #3
0
 public void Reverse(string test, string result)
 {
     Assert.Equal(result, FunctionJunction.Reverse(test));
 }
Example #4
0
 public void IsVowel(char ch, bool result)
 {
     Assert.Equal(result, FunctionJunction.IsVowel(ch));
 }
Example #5
0
 public void SumList(int[] numbers, int sum)
 {
     Assert.Equal(sum, FunctionJunction.SumList(numbers.ToList()));
 }
Example #6
0
 public void Sum(int a, int b, int sum)
 {
     Assert.Equal(sum, FunctionJunction.Sum(a, b));
 }
Example #7
0
 public void MaxOfThree(int a, int b, int c, int max)
 {
     Assert.Equal(max, FunctionJunction.MaxOfThree(a, b, c));
 }
Example #8
0
 public void Max(int a, int b, int max)
 {
     Assert.Equal(max, FunctionJunction.Max(a, b));
 }