예제 #1
0
        public void IsNotSatisfiedByNull()
        {
            IsFact fact = new IsFact("Temperature", 38);

            Assert.IsFalse(fact.IsSatisfiedByValue(null));
        }
예제 #2
0
        public void IsSatisfiedByNullWhenNull()
        {
            IsFact fact = new IsFact("Temperature", null);

            Assert.IsTrue(fact.IsSatisfiedByValue(null));
        }
예제 #3
0
        public void IsSatisfiedByValue()
        {
            IsFact fact = new IsFact("Temperature", 38);

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