package base_quickcheck
Randomized testing framework, designed for compatibility with Base
Install
Dune Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=bb1e7362d52e00cb4c460ee64a05133aee12f120a81a682ceb5fb09d11d8acea
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