Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into fix/ifc-rel-mat-effic…
Browse files Browse the repository at this point in the history
…iency
  • Loading branch information
Krande committed Sep 3, 2024
2 parents 2f79dd5 + fa7665e commit e13ae2b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/profiling/test_ifc_creation.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
def test_build_big_ifc_beams():
# create beams and write it to ifc
beams = []
for i in range(0, 100):
for i in range(0, 500):
bm = ada.Beam(f"bm{i}", (i, 0, 0), (i + 1, 0, 0), "IPE300")
beams.append(bm)
a = ada.Assembly() / beams
Expand All @@ -18,7 +18,7 @@ def test_build_big_ifc_beams():
def test_build_big_ifc_plates():
objects = []
points = [(0, 0), (1, 0), (1, 1), (0, 1)]
for i in range(0, 100):
for i in range(0, 500):
bm = ada.Plate(f"pl{i}", points, 0.01, origin=(0, 0, i))
objects.append(bm)
a = ada.Assembly() / objects
Expand All @@ -28,7 +28,7 @@ def test_build_big_ifc_plates():
@pytest.mark.benchmark
def test_build_big_ifc_box():
objects = []
for i in range(0, 100):
for i in range(0, 500):
bm = ada.PrimBox(f"obj{i}", (0, 0, i), (0.5, 0.5, i + 0.5))
objects.append(bm)
a = ada.Assembly() / objects
Expand All @@ -38,7 +38,7 @@ def test_build_big_ifc_box():
@pytest.mark.benchmark
def test_build_big_ifc_sphere():
objects = []
for i in range(0, 100):
for i in range(0, 500):
bm = ada.PrimSphere(f"obj{i}", (0, 0, i), 0.2)
objects.append(bm)
a = ada.Assembly() / objects
Expand Down

0 comments on commit e13ae2b

Please sign in to comment.