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