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