Skip to content

Commit

Permalink
test length of pt list
Browse files Browse the repository at this point in the history
  • Loading branch information
Edgar-21 committed Jun 24, 2024
1 parent 6509a2d commit 327fa20
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/test_invessel_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ def test_ivb_basics(invessel_build):
assert invessel_build.repeat == repeat_exp
assert invessel_build.num_ribs == num_ribs_exp
assert invessel_build.num_rib_pts == num_rib_pts_exp
assert len(invessel_build.Surfaces['component'].get_loci()) == num_rib_pts_exp
assert invessel_build.scale == scale_exp

remove_files()
Expand All @@ -105,14 +104,19 @@ def test_ivb_basics(invessel_build):
def test_ivb_construction(invessel_build):

num_components_exp = 2
len_loci_pt_exp = 3

remove_files()

invessel_build.populate_surfaces()
invessel_build.calculate_loci()
invessel_build.generate_components()

rib_loci = invessel_build.Surfaces['component'].get_loci()[0]


assert len(invessel_build.Components) == num_components_exp
assert len(rib_loci[0]) == len_loci_pt_exp

remove_files()

Expand Down

0 comments on commit 327fa20

Please sign in to comment.