Example #1
0
        public void T_IsCellIn_True_Node2()
        {
            // Arrange
            Cell cell  = new Cell();
            Cell cell2 = new Cell();

            cell.Value  = '1';
            cell2.Value = 'A';
            GraphNode graphNodeBgn = new GraphNode(cell);
            GraphNode graphNodeEnd = new GraphNode(cell2);
            GraphArc  graphArc     = new GraphArc(graphNodeBgn, graphNodeEnd);

            // Act
            bool isCellIn = graphArc.IsCellIn(cell2);

            // Assert
            Assert.IsTrue(isCellIn);
        }