Plutonomicon / plutarch-plutus

Typed eDSL for writing UPLC /ˈpluː.tɑːk/
MIT License
125 stars 64 forks source link

Tests that `pcontains` works properly #725

Closed kozross closed 1 month ago

kozross commented 1 month ago

pcontains was subject to a bug (fixed in #719), which required significant reworking to fix. Additionally, most tests of PInterval (and related) functionality currently reside in the old test suite, instead of the test suite in plutarch-ledger-api.

We need to check that pcontains handles a range of cases correctly with PInterval PPosixTime, using property tests, unit tests, or both. We also need to port any old tests to the right suite, and use the new framework.