| | |
| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| |
|
| | import Arch |
| | from bimtests import TestArchBase |
| |
|
| |
|
| | class TestArchPanel(TestArchBase.TestArchBase): |
| |
|
| | def test_makePanel(self): |
| | """Test the makePanel function.""" |
| | operation = "Testing makePanel function" |
| | self.printTestMessage(operation) |
| |
|
| | panel = Arch.makePanel(name="TestPanel") |
| | self.assertIsNotNone(panel, "makePanel failed to create a panel object.") |
| | self.assertEqual(panel.Label, "TestPanel", "Panel label is incorrect.") |
| |
|
| | |
| | def NOT_test_makePanelCut(self): |
| | """Test the makePanelCut function.""" |
| | operation = "Testing makePanelCut function" |
| | self.printTestMessage(operation) |
| |
|
| | panel = Arch.makePanel(name="TestPanel") |
| | panel_cut = Arch.makePanelCut(panel, name="TestPanelCut") |
| | self.assertIsNotNone(panel_cut, "makePanelCut failed to create a panel cut object.") |
| | self.assertEqual(panel_cut.Label, "TestPanelCut", "Panel cut label is incorrect.") |
| |
|
| | |
| | def NOT_test_makePanelSheet(self): |
| | """Test the makePanelSheet function.""" |
| | operation = "Testing makePanelSheet function" |
| | self.printTestMessage(operation) |
| |
|
| | panel_sheet = Arch.makePanelSheet(name="TestPanelSheet") |
| | self.assertIsNotNone(panel_sheet, "makePanelSheet failed to create a panel sheet object.") |
| | self.assertEqual(panel_sheet.Label, "TestPanelSheet", "Panel sheet label is incorrect.") |
| |
|