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

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

            // Act
            bool isConsistant = graphArc.IsConsistant();

            // Assert
            Assert.IsFalse(isConsistant);
        }