AssertResult() private static method

private static AssertResult ( string expression, bool expected ) : void
expression string
expected bool
return void
Ejemplo n.º 1
0
 public void OperatorMul(string expression, string expected)
 {
     BuiltinOperatorsTester.AssertResult(expression + "=" + expected, true);
 }
Ejemplo n.º 2
0
 public void OperatorMod(string expression, string expected)
 {
     BuiltinOperatorsTester.AssertResult(expression + "=" + (expected ?? "0/0"), true);
 }
Ejemplo n.º 3
0
 public void OperatorEqualNotEqual(string lhs, string rhs, bool expected)
 {
     BuiltinOperatorsTester.AssertResult(lhs + "=" + rhs, expected);
     BuiltinOperatorsTester.AssertResult(lhs + "!=" + rhs, !expected);
 }
Ejemplo n.º 4
0
 public void OperatorGreaterEqualLowerThan(string lhs, string rhs, bool expected)
 {
     BuiltinOperatorsTester.AssertResult(lhs + ">=" + rhs, !expected);
     BuiltinOperatorsTester.AssertResult(lhs + "<" + rhs, expected);
 }
Ejemplo n.º 5
0
 public void OperatorAnd(string expression, bool expected)
 {
     BuiltinOperatorsTester.AssertResult(expression, expected);
 }