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