Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
compare bare values
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Aug 14, 2018
1 parent da9bfac commit 139c72c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def test_transcar():
ind = [[1, 12, 5], [0, 62, 8]]

for i in ind:
assert refexc[i[0], i[1], i[2]] == approx(exc[i[0], i[1], i[2]], rel=1e-3)
assert refexc[i[0], i[1], i[2]].values == approx(exc[i[0], i[1], i[2]].values, rel=1e-3)

assert refexc.time.shape == refexc.time.shape, 'did you rerun the test without clearing the output directory first?'
assert (refexc.time == exc.time).all(), 'simultation time of current run did not match reference run'
Expand Down

0 comments on commit 139c72c

Please sign in to comment.