Skip to content

Commit

Permalink
Removed one of the interpolation overshoot tolerances that is no long…
Browse files Browse the repository at this point in the history
…er necessary after issue #19 has been done
  • Loading branch information
uniomni committed Oct 19, 2011
1 parent 73f097b commit 41d58b0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions impact/tests/test_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -610,9 +610,6 @@ def test_tephra_load_impact(self):
coordinates = impact_vector.get_geometry()
attributes = impact_vector.get_data()

# FIXME: Remove this tolerance when interpolation is better (issue #19)
tol = 1.0e-8

# Test that results are as expected
# FIXME: Change test when we decide what values should actually be
# calculated :-) :-) :-)
Expand All @@ -625,7 +622,7 @@ def test_tephra_load_impact(self):
load_min,
load_max)
if not numpy.isnan(load):
assert load_min - tol <= load <= load_max, msg
assert load_min <= load <= load_max, msg

# Test calcalated values
if 0.01 <= load < 90.0:
Expand Down

0 comments on commit 41d58b0

Please sign in to comment.