source: class MedianTest {
  
    private double errorSum;
    private double maxError;
    private double minError;
  
    @Test
    public void testMedian() {
  
target:     Random rng = new Random("Repeatable tests".hashCode());
      int n = 1;
      for (int i = 0; i < n; i++) {
        testMedian(rng);
      }
      System.out.println(
          "Error avg = " + (errorSum / n) + " in range [" + minError + ", " + maxError + "]");
    }
  
  }