예제 #1
0
        public void EqualsReturnsFalseForNonIndex()
        {
            var index = new ExcelCellIndex(1, 2);

            var result = index.Equals("asdas");

            result.Should().Be(false);
        }
예제 #2
0
        public void EqualsWorksForOtherCellIndexes(int row1, int column1, int row2, int column2, bool equals)
        {
            var index1 = new ExcelCellIndex(row1, column1);
            var index2 = new ExcelCellIndex(row2, column2);

            var result = index1.Equals(index2);

            result.Should().Be(equals);
        }