Exemple #1
0
        public void Dev2DecisionComparer_Both_Null_Equals_Expect_True()
        {
            var dev2DecisionComparer = new Dev2DecisionComparer();

            var isEqual = dev2DecisionComparer.Equals(null, null);

            Assert.IsTrue(isEqual);
        }
Exemple #2
0
        public void Dev2DecisionComparer_Right_Null_Equals_Expect_False()
        {
            var dev2DecisionA = new Dev2Decision
            {
                Col1         = "[[a]]",
                Col2         = "=",
                Col3         = "bob",
                EvaluationFn = Decisions.Operations.enDecisionType.IsEqual
            };

            var dev2DecisionComparer = new Dev2DecisionComparer();

            var isEqual = dev2DecisionComparer.Equals(dev2DecisionA, null);

            Assert.IsFalse(isEqual);
        }