Ejemplo n.º 1
0
        public void ShouldReturnFalseIfTwoTreeStructuresAreNotIdentical()
        {
            TreeDSNode rootNodeOfFirstTree            = TreeTestData.GetComplexTreeRootNode();
            TreeDSNode rootNodeOfSecondTree           = TreeTestData.GetLeftSplayTreeRootNode();
            var        structuralIdentification       = new StructuralIdentification();
            var        structuralIdentificationResult = structuralIdentification.Validate(rootNodeOfFirstTree, rootNodeOfSecondTree);

            Assert.AreEqual(false, structuralIdentificationResult);
        }