예제 #1
0
        public void UnusedViewFiltersTest()
        {
            var doc = RevitTestExecutive.CommandData.Application.ActiveUIDocument.Document;
            var unusedViewFiltersCount = DestructivePurgeUtilitiles.UnboundRooms(doc).Count;

            Assert.IsTrue(unusedViewFiltersCount == 1);
        }
예제 #2
0
        public void UnboundRoomsTest()
        {
            var doc = RevitTestExecutive.CommandData.Application.ActiveUIDocument.Document;
            var unboundRoomsCount = DestructivePurgeUtilitiles.UnboundRooms(doc).Count;

            Assert.IsTrue(unboundRoomsCount == 1, "Expected number of unbound rooms 8, actual count: " + unboundRoomsCount);
        }