Пример #1
0
        public void BeEqualToSameCell()
        {
            var first  = new EmptyCell(position);
            var second = new EmptyCell(position);
            var third  = new EmptyCell(position + CellPosition.DeltaDown);

            first.Equals(second).Should().BeTrue();
            first.Equals(third).Should().BeFalse();
        }
Пример #2
0
        public void BeNotEqualToOtherCell()
        {
            var first  = new EmptyCell(position);
            var second = new EmptyCell(position + CellPosition.DeltaDown);

            first.Equals(second).Should().BeFalse();
        }