test/testlibrary_tests/whitebox/vm_flags/DoubleTest.java

changeset 9979
9f2b95a3c80b
parent 6963
0c48231c5c84
equal deleted inserted replaced
9978:0943ff57e154 9979:9f2b95a3c80b
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 {

mercurial