public void OrsNumbers() { OpOr bor = new OpOr(new IntLiteralNode("2"), new IntLiteralNode("3")); Assert.AreEqual(2 | 3, bor.GetValue(null, null)); }
public void OrsBooleans() { OpOr bor = new OpOr(new BooleanLiteralNode("false"), new BooleanLiteralNode("true")); Assert.AreEqual(false || true, bor.GetValue(null, null)); }
public void OrsBooleans() { OpOr bor = new OpOr(new BooleanLiteralNode("false"), new BooleanLiteralNode("true")); Assert.AreEqual(false || true , bor.GetValue(null, null)); }