Exemple #1
0
        public void IsSatisfiedByNull()
        {
            IsNotFact fact = new IsNotFact("Temperature", 38);

            Assert.IsTrue(fact.IsSatisfiedByValue((object)null));
        }
Exemple #2
0
        public void IsNotSatisfiedByNullWhenNull()
        {
            IsNotFact fact = new IsNotFact("Temperature", null);

            Assert.IsFalse(fact.IsSatisfiedByValue((object)null));
        }
Exemple #3
0
        public void IsNotSatisfiedByValue()
        {
            IsNotFact fact = new IsNotFact("Temperature", 38);

            Assert.IsFalse(fact.IsSatisfiedByValue(38));
        }