Skip to content

Commit 61a64f0

Browse files
committed
further test
1 parent ab33dd1 commit 61a64f0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/runtests.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ using Aqua
7373
@test size(coeffsMF.coeffs) == (3,1)
7474
[@test coeffsMF.coeffs[j,1].L == L for j=1:3]
7575

76+
coeffsMF = MagneticFieldCoefficients(coeffs,0.042,zeros(3,1))
77+
@test coeffsMF.coeffs == coeffs
78+
@test coeffsMF.radius == 0.042
79+
@test coeffsMF.center == zeros(Float64,3)
80+
@test coeffsMF.ffp == zeros(3,1)
81+
7682
# constructor with t-design
7783
coeffsMF = MagneticFieldCoefficients(coeffs, tDes, zeros(Float64,3,1))
7884
@test coeffsMF.radius == 0.042

0 commit comments

Comments
 (0)