Beispiel #1
0
        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);
        }
Beispiel #2
0
        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);
        }