예제 #1
0
        public void TestHideXenObject()
        {
            var xenObjectsToHide = Populate();

            foreach (var xenObject in xenObjectsToHide)
            {
                ComparableList <IXenObject> calc = CalculatePopulateWithHiddenObject(xenObject);

                Program.HideObject(xenObject.opaque_ref);
                Assert.AreEqual(0, calc.CompareTo(Populate()), "Incorrect hidden nodes.");
                Program.ShowObject(xenObject.opaque_ref);
            }
        }