test(chain): introduce proptest for CheckPoint::range

Ensure that `CheckPoint::range` returns expected values by comparing
against values returned from a primitive approach.

I think it is a good idea to start writing proptests for this crate.
This commit is contained in:
志宇
2024-04-05 16:43:13 +08:00
parent 62619d3a4a
commit 446b045161
4 changed files with 52 additions and 0 deletions

View File

@@ -75,6 +75,8 @@ cargo update -p time --precise "0.3.20"
cargo update -p jobserver --precise "0.1.26"
# home 0.5.9 has MSRV 1.70.0
cargo update -p home --precise "0.5.5"
# proptest 1.4.0 has MSRV 1.65.0
cargo update -p proptest --precise "1.2.0"
```
## License