Skip to content

Commit

Permalink
update test data
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Jun 10, 2020
1 parent 883676f commit 018dae4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions wmm2020/tests/test_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
def test_wmm():
mag = wmm.wmm(65, 85, alt_km=0, yeardec=2012.52868852459)

assert mag.north.item() == approx(9215.692665)
assert mag.east.item() == approx(2516.0058789)
assert mag.down.item() == approx(59708.529371)
assert mag.total.item() == approx(60467.906831)
assert mag.north.item() == approx(9216.095937998032)
assert mag.east.item() == approx(2585.6313552791953)
assert mag.down.item() == approx(59578.81210945489)
assert mag.total.item() == approx(60342.82696574229)

assert mag.incl.item() == approx(80.910090)
assert mag.decl.item() == approx(15.27036)
assert mag.incl.item() == approx(80.87285397874935)
assert mag.decl.item() == approx(15.67178464900435)


if __name__ == "__main__":
Expand Down

0 comments on commit 018dae4

Please sign in to comment.