You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
578 B

package junit.framework;
public class Assert {
public static void assume(boolean condition) {
if (!condition) {
while (true) {
}
}
}
public static void assertTrue(boolean condition) {
assume(condition);
}
public static void assertTrue(String message, boolean condition) {
assume(condition);
}
public static void assertFalse(boolean condition) {
assume(!condition);
}
public static void assertFalse(String message, boolean condition) {
assume(!condition);
}
}