Пример #1
0
        public void RemoveWrongPossibiliti()
        {
            var actual = new FieldsContainer();

            for (int i = 0; i < 9; i++)
            {
                actual.Fields.Add(new Field());
            }
            var expected = new List <int>()
            {
                1, 2, 3, 4, 5, 6, 7, 8, 9
            };

            actual.ClearPossibilities(400);

            CollectionAssert.AreEqual(expected, actual.Fields[4].PossibleValues);
        }