Functor Utest.Debug_compare


module Debug_compare: 
functor (S : sig
type t 
val sexp_of_t : t -> Sexplib.Sexp.t
val t_of_sexp : Sexplib.Sexp.t -> t
val compare : t -> t -> int
end) -> sig .. end
This functor will give you comparison functions which automatically call debug_printf when they are called with what they were called with and their result
Parameters:
S : sig type t with sexp val compare : t -> t -> int end

val equal : S.t -> S.t -> bool
val compare : S.t -> S.t -> int
val ascending : S.t -> S.t -> int
val descending : S.t -> S.t -> int
val min : S.t -> S.t -> S.t
val max : S.t -> S.t -> S.t
val (>=) : S.t -> S.t -> bool
val (<=) : S.t -> S.t -> bool
val (=) : S.t -> S.t -> bool
val (>) : S.t -> S.t -> bool
val (<) : S.t -> S.t -> bool
val (<>) : S.t -> S.t -> bool