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