Esempio n. 1
0
        public void WhenOneValueAddedToPredicate_Fails()
        {
            EqualsPredicate equals = new EqualsPredicate();

            equals.Push(new Value(23m, "TEST"));

            Assert.IsTrue(equals.GetValue());
        }
Esempio n. 2
0
        public void WhenEqualsPredicateLoadedWithMatchingValues_AnswerShouldBeFalse()
        {
            EqualsPredicate equals = new EqualsPredicate();

            equals.Push(new Value(3.5m, "TEST"));
            equals.Push(new Value(3.5m, "TEST"));

            Assert.IsTrue(equals.GetValue());
        }
Esempio n. 3
0
        public void WhenNoValuesAddedToPredicate_Fails()
        {
            EqualsPredicate equals = new EqualsPredicate();

            Assert.IsTrue(equals.GetValue());
        }