Skip to content

Commit

Permalink
Add files to call other code for API testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbayley committed Feb 21, 2024
1 parent af70992 commit 7d4d8d1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
@@ -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}')
5 changes: 5 additions & 0 deletions test/test_steel.py
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7d4d8d1

Please sign in to comment.