Skip to content

Commit

Permalink
test_camera.py: Reduce the magnitude of test_transfromation_movement …
Browse files Browse the repository at this point in the history
…to normal sizes

Apparently this algorithm fails at large magnitudes.
  • Loading branch information
AstraLuma committed Mar 21, 2020
1 parent fa9e9d1 commit 01e648b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ def test_transfromation_roundtrip(vp_width, vp_height, pixel_ratio, cam_pos, poi
vp_width=st.integers(min_value=1),
vp_height=st.integers(min_value=1),
pixel_ratio=st.floats(min_value=1, max_value=1e5, allow_nan=False, allow_infinity=False),
cam_pos=vectors(),
point=vectors(),
delta=vectors(),
cam_pos=vectors(1e5),
point=vectors(1e5),
delta=vectors(1e5),
)
def test_transfromation_movement(
vp_width, vp_height, pixel_ratio, cam_pos, point, delta,
Expand Down

0 comments on commit 01e648b

Please sign in to comment.