Pricing { public static double getNormalizedP_simple(double q_exp) { return 0.5 + Math.sqrt(q_exp) / 2; }  static double getNormalizedP_simple(double q_exp); static double getNormalizedQexp_simple(double p); static Double probabilityCorrect(Double p, Integer k); static Double pricingFactor(double from, double to); static void main(String[] args);  }
@Test public final void testGetNormalizedP_simple() { for (double i=0; i<=1; i+=0.05) { double normalizedProbability = Pricing.getNormalizedP_simple(i); assertTrue(normalizedProbability>0 && normalizedProbability<=1); } }