Clusterizator.Tests.Krab.GraphManagerTests.CutConnectionTrioTest C# (CSharp) Method

CutConnectionTrioTest() private method

private CutConnectionTrioTest ( ) : void
return void
        public void CutConnectionTrioTest()
        {
            var connector = new GraphManager(connectionsList, elementsList);
            connectionsList[1].Connected = true;
            elementsList[2].TaxonNumber = 1;
            connector.Cut(connector.Connections[1]);
            Assert.IsFalse(connectionsList[1].Connected);
            Assert.AreEqual(3, elementsList[0].TaxonNumber);
            Assert.AreEqual(3, elementsList[1].TaxonNumber);
            Assert.AreEqual(1, elementsList[2].TaxonNumber);
        }