Exemple #1
0
        public void WhenEqualsConstraintExists_givenPairwiseDisjunctive_thenConstraintNotMatch()
        {
            var variables = new List <Variable>()
            {
                new Variable("A", null),
                new Variable("B", null)
            };
            var constraints = new List <Constraint>
            {
                new Constraint(1, variables[0], CompareEnum.Equals, variables[1])
            };

            Approvals.Verify(ConstraintManager.GetNotMatchedConstraints(constraints, true).ToPrettyString());
        }