public final void testSubtractionBetweenIntegersSimplification() { Minus minus = new Minus(); minus.left = new Number(5); minus.left.type = IntegerType.instance; minus.right = new Number(2); minus.right.type = IntegerType.instance; expressionSimplificationTester(minus, Number.class, IntegerType.instance, 3, true); }
public final void testZeroMinusExp() { Minus m = new Minus(); m.type = IntegerType.instance; operationWithZero(m, Minus.class, true, true); }
public final void testExpMinusZero() { Minus m = new Minus(); m.type = IntegerType.instance; operationWithZero(m, null, false, true); }