package lab; import org.junit.Assert; public class RunTest { public static void main(String[] args) { BooleanTest tester = new BooleanTest(); tester.testConstructor(); tester.testBooleanValue(); tester.testTrue(); try { tester.testCompareToExceptionTrue(); Assert.fail("Did not thrown an exception"); } catch (IllegalArgumentException e) {} try { tester.testCompareToExceptionFalse(); Assert.fail("Did not thrown an exception"); } catch (IllegalArgumentException e) {} tester.testCompareTo(); } }