FileDocCategorySizeDatePackage
TestAssert.javaAPI DocExample2827Mon Apr 06 18:10:26 BST 1998c05

TestAssert

public class TestAssert extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

    Assert.is_true((2 + 2) == 5);
    Assert.is_false((1 + 1) == 2);
    Assert.is_true((2 + 2) == 5, "2 + 2 == 5");
    Assert.is_false((1 + 1) == 2, "1 +1 != 2");