package base_quickcheck
Randomized testing framework, designed for compatibility with Base
Install
Dune Dependency
Authors
Maintainers
Sources
v0.17.1.tar.gz
md5=df06909b62c9e34e9e5436993d6d998d
sha512=d345b0333508f6f49fe636455139e563b0594bd2cf56534d2f42ed083906e41bb4e009996ed7db8989d8409899d25cfcdbd71021260486c310f7e0fd63df56d9
doc/CHANGES.html
Release v0.17.0
Add Bigarray distribution functions to
Generator
:Generator.bigarray1
Generator.bigstring_with_length
Generator.float32_vec_with_length
Generator.float64_vec_with_length
- Update the type of
Generator.create
andGenerator.generate
to useSplittable_random.t
instead ofSplittable_random.State.t
. The former is simply a shorter alias for the latter. - Remove
[@@deriving fields]
fromTest.Config.t
to reduce bloat. - Add flags for individual components to
ppx_quickcheck
e.g.[@@deriving quickcheck ~generator ~observer ~shrinker]
.
Release v0.16.0
Add new geometric distributions for integer types to
Generator
:- All functions take a minimum value and a probability
p
as parameters, producing a geometric distribution - Raise an error if
p <. 0. || 1. <. p
- All functions take a minimum value and a probability
Add
string_like
function toGenerator
:- Produces strings similar to a given input with some number of edits
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page