mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 01:10:01 +00:00
add unittest init
This commit is contained in:
@@ -0,0 +1,22 @@
|
|||||||
|
import unittest
|
||||||
|
from ids import ids, specification, entity, classification, property, material
|
||||||
|
|
||||||
|
|
||||||
|
class TestIds(unittest.TestCase):
|
||||||
|
|
||||||
|
""" Parsing IDS.xml """
|
||||||
|
|
||||||
|
def test_parse(self):
|
||||||
|
ids_file = ids.parse(sys.argv[1])
|
||||||
|
self.assertEqual( type(ids_file).__name__, "ids" )
|
||||||
|
|
||||||
|
""" IDS authoring """
|
||||||
|
|
||||||
|
""" IFC validation with IDS """
|
||||||
|
|
||||||
|
""" IDS validation results """
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
import sys
|
||||||
|
unittest.main()
|
||||||
Reference in New Issue
Block a user