31 * @summary testing of WB::set/getDoubleVMFlag() |
31 * @summary testing of WB::set/getDoubleVMFlag() |
32 * @author igor.ignatyev@oracle.com |
32 * @author igor.ignatyev@oracle.com |
33 */ |
33 */ |
34 |
34 |
35 public class DoubleTest { |
35 public class DoubleTest { |
36 private static final String FLAG_NAME = null; |
36 private static final String FLAG_NAME = "InitialRAMPercentage"; |
37 private static final Double[] TESTS = {0d, -0d, -1d, 1d, |
37 private static final Double[] TESTS = {0d, -0d, -1d, 1d, |
38 Double.MAX_VALUE, Double.MIN_VALUE, Double.NaN, |
38 Double.MAX_VALUE, Double.MIN_VALUE, Double.NaN, |
39 Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY}; |
39 Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY}; |
40 |
40 |
41 public static void main(String[] args) throws Exception { |
41 public static void main(String[] args) throws Exception { |