Exemplo n.º 1
0
 public void MedianOfSubArrayTests(int[] nums, int i, int j, double median)
 {
     Assert.Equal(median, StatUtilities.GetMedian(nums, i, j));
 }
Exemplo n.º 2
0
 public void MedianTests(int[] nums, double median)
 {
     Assert.Equal(median, StatUtilities.GetMedian(nums));
 }