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

            Assert.IsTrue(unusedViewFiltersCount == 1);
        }
Exemple #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);
        }