Skip to content

Commit

Permalink
modify test to ensure currents are saved correctly too
Browse files Browse the repository at this point in the history
  • Loading branch information
dpanici committed May 12, 2024
1 parent d5f67c9 commit f06f8ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_coils.py
Original file line number Diff line number Diff line change
Expand Up @@ -923,9 +923,9 @@ def test_save_h5_for_mixed_coilset(tmpdir_factory):
output_dir = tmpdir_factory.mktemp("coilset_save")
output_path = output_dir.join("DummyMixedCoilSet.h5")

tf_coil = FourierPlanarCoil(center=[2, 0, 0], normal=[0, 1, 0], r_n=[1])
tf_coil = FourierPlanarCoil(current=20, center=[2, 0, 0], normal=[0, 1, 0], r_n=[1])
tf_coilset = CoilSet.linspaced_angular(tf_coil, n=4)
vf_coil = FourierRZCoil(R_n=3, Z_n=-1)
vf_coil = FourierRZCoil(current=100, R_n=3, Z_n=-1)
vf_coilset = CoilSet.linspaced_linear(
vf_coil, displacement=[0, 0, 2], n=3, endpoint=True
)
Expand Down

0 comments on commit f06f8ae

Please sign in to comment.