Beispiel #1
0
 @Test
 public void testRefractiveIndexPTLambda() throws OutOfRangeException {
   double tol = 1e-6;
   System.out.println(getClass().getSimpleName() + " tolerance: " + tol);
   double[][] X =
       new double[][] {
         {0.139277824e1, 0.1, 298.15, 0.2265},
         {0.133285819e1, 0.1, 298.15, 0.5893},
         // meta {0.101098988e1, 10, 773.15, 0.2265},
         // meta {0.100949307e1, 10, 773.15, 0.5893},
         {0.119757252e1, 40, 673.15, 0.2265},
         {0.116968699e1, 40, 673.15, 0.5893}
       };
   for (double[] x : X) {
     assertEquals(x[0], if97.refractiveIndexPTLambda(x[1], x[2], x[3]), tol);
   }
 }