Skip to content

Interpolation.piecewise sometimes fails tests #180

@Janiczek

Description

@Janiczek

I was trying to use your test suite to stress-test my upcoming elm-explorations/test performance optimizations. Found a test was failing:

Running 191 tests. To reproduce these results, run: elm-test --fuzz 100 --seed 106499555100350

↓ InterpolationTests
↓ Interpolation
↓ piecewise
✗ never exceeds the range

Given (9007199254740996,[1],1)

    0
    ╷
    |atLeast
    ╵
    1

and

Running 191 tests. To reproduce these results, run: elm-test --fuzz 100 --seed 151805288162006

↓ InterpolationTests
↓ Interpolation
↓ piecewise
✗ never exceeds the range

Given (9007199254740994,[-1],1)

    -2
    ╷
    |atLeast
    ╵
    -1

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions