19 lines
728 B
Java
19 lines
728 B
Java
|
//: arrays/RandomGeneratorsTest.java
|
||
|
import net.mindview.util.*;
|
||
|
|
||
|
public class RandomGeneratorsTest {
|
||
|
public static void main(String[] args) {
|
||
|
GeneratorsTest.test(RandomGenerator.class);
|
||
|
}
|
||
|
} /* Output:
|
||
|
Double: 0.73 0.53 0.16 0.19 0.52 0.27 0.26 0.05 0.8 0.76
|
||
|
Float: 0.53 0.16 0.53 0.4 0.49 0.25 0.8 0.11 0.02 0.8
|
||
|
Long: 7674 8804 8950 7826 4322 896 8033 2984 2344 5810
|
||
|
Integer: 8303 3141 7138 6012 9966 8689 7185 6992 5746 3976
|
||
|
Short: 3358 20592 284 26791 12834 -8092 13656 29324 -1423 5327
|
||
|
String: bkInaMe sbtWHkj UrUkZPg wsqPzDy CyRFJQA HxxHvHq XumcXZJ oogoYWM NvqeuTp nXsgqia
|
||
|
Character: x x E A J J m z M s
|
||
|
Byte: -60 -17 55 -14 -5 115 39 -37 79 115
|
||
|
Boolean: false true false false true true true true true true
|
||
|
*///:~
|