public void OperatorMul(string expression, string expected) { BuiltinOperatorsTester.AssertResult(expression + "=" + expected, true); }
public void OperatorMod(string expression, string expected) { BuiltinOperatorsTester.AssertResult(expression + "=" + (expected ?? "0/0"), true); }
public void OperatorEqualNotEqual(string lhs, string rhs, bool expected) { BuiltinOperatorsTester.AssertResult(lhs + "=" + rhs, expected); BuiltinOperatorsTester.AssertResult(lhs + "!=" + rhs, !expected); }
public void OperatorGreaterEqualLowerThan(string lhs, string rhs, bool expected) { BuiltinOperatorsTester.AssertResult(lhs + ">=" + rhs, !expected); BuiltinOperatorsTester.AssertResult(lhs + "<" + rhs, expected); }
public void OperatorAnd(string expression, bool expected) { BuiltinOperatorsTester.AssertResult(expression, expected); }