Number n1 = new Integer(25);
Number n11 = new Integer(25);
Number n2 = new Integer(30);
Number n3 = new Integer(-15);
Number n4 = new Integer(26);
BinaryConstraint p = GreaterThan.instance();
Assert.notNull(p);
assertTrue(p.test(n2, n1));
assertFalse(p.test(n3, n2));
p = GreaterThanEqualTo.instance();
assertTrue(p.test(n2, n2));
assertFalse(p.test(n1, n4));
assertTrue(p.test(n4, n1));
p = LessThan.instance();
assertTrue(p.test(n1, n2));
assertFalse(p.test(n2, n3));
p = LessThanEqualTo.instance();
assertTrue(p.test(n2, n2));
assertFalse(p.test(n4, n1));
assertTrue(p.test(n1, n4));
p = EqualTo.instance();
assertTrue(p.test(n1, n11));
assertTrue(p.test(n2, n2));
assertFalse(p.test(n1, n2));
}