From 7d4d8d193d8fd0f31721901705572ce6a712fc2c Mon Sep 17 00:00:00 2001 From: James Bayley <36523314+jamesbayley@users.noreply.github.com> Date: Wed, 21 Feb 2024 14:47:56 +0000 Subject: [PATCH] Add files to call other code for API testing --- main.py | 5 +++++ test/test_steel.py | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 main.py create mode 100644 test/test_steel.py diff --git a/main.py b/main.py new file mode 100644 index 0000000..ee32bfc --- /dev/null +++ b/main.py @@ -0,0 +1,5 @@ +from gazelle.steel.fabricator import SteelFabricator, SectionCategory + +sections = SteelFabricator.make_all_sections(SectionCategory.UC) +for section in sections: + print(f'Section: {section}, width: {section.width}') \ No newline at end of file diff --git a/test/test_steel.py b/test/test_steel.py new file mode 100644 index 0000000..edc4769 --- /dev/null +++ b/test/test_steel.py @@ -0,0 +1,5 @@ +from gazelle.steel.fabricator import SteelFabricator, SectionCategory + +def test_steel(): + sections = SteelFabricator.make_all_sections(SectionCategory.UB) + assert len(sections) > 0