Lines Matching defs:check
54 private static void check(boolean x, String s) {
72 check(one.signum() == 1, "signum(1) failed");
73 check(one.negate().signum() == -1, "signum(-1) failed");
74 check(zero.signum(-100) == 0, "signum(0) failed");
75 check(one.compareTo(two, -10) == -1, "comparison failed");
76 check(two.toString(4).compareTo("2.0000") == 0, "toString failed");
89 check(one.negate().signum() == -1, "signum(-1) failed");
96 check(thirteen.floatValue() == 13.0, "floatValue failed");
97 check(thirteen.intValue() == 13, "intValue failed");
98 check(thirteen.longValue() == 13, "longValue failed");
99 check(thirteen.doubleValue() == 13.0, "doubleValue failed");
102 check(e.toString(20).substring(0,17)
137 check(tmp2.ln().intValue() == -123, "intValue(...) failed");
138 check(tmp2.ln().longValue() == -123, "longValue(...) failed");
139 check(tmp2.ln().floatValue() == -123.0, "floatValue(...) failed");
140 check(tmp2.ln().doubleValue() == -123.0, "doubleValue(...) failed");