package async
Module Async.Quickcheck
include module type of struct include Async_quickcheck end
module Generator = Async_quickcheck.Generatormodule Observer = Async_quickcheck.Observermodule Shrinker = Async_quickcheck.Shrinkerinclude Core.Quickcheck.Quickcheck_configured
val default_seed : Core.Quickcheck_intf.seedval default_sizes : Base.Int.t Core.Sequence.tval default_shrink_attempts : Core.Quickcheck_intf.shrink_attemptsval random_value :
?seed:Core.Quickcheck_intf.seed ->
?size:Base.Int.t ->
'a Base_quickcheck.Generator.t ->
'aval iter :
?seed:Core.Quickcheck_intf.seed ->
?sizes:Base.Int.t Core.Sequence.t ->
?trials:Base.Int.t ->
'a Base_quickcheck.Generator.t ->
f:('a -> Base.Unit.t) ->
Base.Unit.tval test :
?seed:Core.Quickcheck_intf.seed ->
?sizes:Base.Int.t Core.Sequence.t ->
?trials:Base.Int.t ->
?shrinker:'a Base_quickcheck.Shrinker.t ->
?shrink_attempts:Core.Quickcheck_intf.shrink_attempts ->
?sexp_of:('a -> Base.Sexp.t) ->
?examples:'a Base.List.t ->
'a Base_quickcheck.Generator.t ->
f:('a -> Base.Unit.t) ->
Base.Unit.tval test_or_error :
?seed:Core.Quickcheck_intf.seed ->
?sizes:Base.Int.t Core.Sequence.t ->
?trials:Base.Int.t ->
?shrinker:'a Base_quickcheck.Shrinker.t ->
?shrink_attempts:Core.Quickcheck_intf.shrink_attempts ->
?sexp_of:('a -> Base.Sexp.t) ->
?examples:'a Base.List.t ->
'a Base_quickcheck.Generator.t ->
f:('a -> Base.Unit.t Core.Or_error.t) ->
Base.Unit.t Core.Or_error.tval test_can_generate :
?seed:Core.Quickcheck_intf.seed ->
?sizes:Base.Int.t Core.Sequence.t ->
?trials:Base.Int.t ->
?sexp_of:('a -> Base.Sexp.t) ->
'a Base_quickcheck.Generator.t ->
f:('a -> Base.Bool.t) ->
Base.Unit.tval test_distinct_values :
?seed:Core.Quickcheck_intf.seed ->
?sizes:Base.Int.t Core.Sequence.t ->
?sexp_of:('a -> Base.Sexp.t) ->
'a Base_quickcheck.Generator.t ->
trials:Base.Int.t ->
distinct_values:Base.Int.t ->
compare:('a -> 'a -> Base.Int.t) ->
Base.Unit.tval random_sequence :
?seed:Core.Quickcheck_intf.seed ->
?sizes:Base.Int.t Core.Sequence.t ->
'a Base_quickcheck.Generator.t ->
'a Core.Sequence.tval async_test :
?seed:Core.Quickcheck.seed ->
?trials:int ->
?sexp_of:('a -> Core.Sexp.t) ->
?examples:'a list ->
'a Core.Quickcheck.Generator.t ->
f:('a -> unit Async_kernel.Deferred.t) ->
unit Async_kernel.Deferred.tLike test, but for asynchronous tests.
module Configure = Async_quickcheck.Configure