@Test public void testRandom_double_double() { System.out.println("nextDouble"); double lo = -10.0; double hi = 20.0; smile.math.Random instance = new Random(System.currentTimeMillis()); for (int i = 0; i < 1000000; i++) { double result = instance.nextDouble(lo, hi); assertTrue(result >= lo); assertTrue(result < hi); } }
public double nextDouble() { return real.nextDouble(); }
Random { public double nextDouble() { return real.nextDouble(); } }
Random { public double nextDouble() { return real.nextDouble(); } Random();  Random(long seed); }
Random { public double nextDouble() { return real.nextDouble(); } Random();  Random(long seed); void setSeed(long seed); double nextDouble(); void nextDoubles(double[] d); double nextDouble(double lo, double hi); void nextDoubles(double[] d, double lo, double hi); int nextInt(); int nextInt(int n); long nextLong(); int[] permutate(int n); void permutate(int[] x); void permutate(float[] x); void permutate(double[] x); void permutate(Object[] x); }
Random { public double nextDouble() { return real.nextDouble(); } Random();  Random(long seed); void setSeed(long seed); double nextDouble(); void nextDoubles(double[] d); double nextDouble(double lo, double hi); void nextDoubles(double[] d, double lo, double hi); int nextInt(); int nextInt(int n); long nextLong(); int[] permutate(int n); void permutate(int[] x); void permutate(float[] x); void permutate(double[] x); void permutate(Object[] x);  }