Skip to content

Commit

Permalink
Make test_simulate_apply_parity more lenient to avoid test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
iver56 committed Mar 6, 2024
1 parent 5439a68 commit 3894cc4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_room_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ def test_simulate_apply_parity(self):
np.float32
).flatten()

assert augmented_samples_simulate == pytest.approx(
augmented_samples_apply, abs=1e-15
)
assert augmented_samples_simulate == pytest.approx(augmented_samples_apply)

def test_failing_case(self):
"""Failed case which identified a bug where the room created was not rectangular"""
Expand Down

0 comments on commit 3894cc4

Please sign in to comment.