Skip to content

Commit 404fc5e

Browse files
committed
Update test_aisc.py
1 parent 34fec5b commit 404fc5e

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

tests/test_aisc.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import veux
44
import numpy as np
55
from xara.units import us, si
6-
from xsection.library import from_aisc, aisc_data
6+
from xsection.library import from_aisc, aisc_data, load_shape
77

88

99
def _check_data(shape, data):
@@ -36,6 +36,11 @@ def test_data_wt():
3636
shape = shape.translate(-shape.centroid).elastic
3737
_check_data(shape, data)
3838

39+
def test_hss():
40+
shape = load_shape("HSS5x5x3/8", library="AISC16", mesh_scale=1/3, mesher="gmsh")
41+
42+
assert shape.area == pytest.approx(6.18, rel=1e-1)
43+
3944

4045
# def test_data_c():
4146
# data = aisc_data("C15x50")

0 commit comments

Comments
 (0)