package ounit2

  1. Overview
  2. Docs

Definition of standard operations

type e

Type of an element

type t

Type of a collection of element

val compare : t -> t -> int

Compare a collection of element

val pp_printer : Stdlib.Format.formatter -> t -> unit

Pretty printer a collection of element

val pp_diff : Stdlib.Format.formatter -> (t * t) -> unit

Pretty printer for collection differences

val assert_equal : ?msg:string -> t -> t -> unit

assert_equal with ~diff, ~cmp and ~printer predefined for this collection events

val of_list : e list -> t

Create t using of list

OCaml

Innovation. Community. Security.