public void OrTrueTrue( ) { Or <object> or = new Or <object>(True <object> .Instance, True <object> .Instance); IViolation <object> violation = or.Check(null); Assert.AreEqual(NonViolation <object> .Instance, violation); }
public void OrFalseFalse( ) { Or <object> or = new Or <object>(False <object> .Instance, False <object> .Instance); IViolation <object> violation = or.Check(null); Assert.AreNotEqual(NonViolation <object> .Instance, violation); }