package ounit

  1. Overview
  2. Docs
Unit testing framework loosely based on HUnit. It is similar to JUnit, and other XUnit testing frameworks

Install

Dune Dependency

Authors

Maintainers

Sources

ounit-2.0.8.tar.gz
sha256=2e30fe79648e928b5a9d20f83d5a1a805826c7193e821464a9e4752661ba2e0e
md5=bd12d66c9dbd95a50570bb686b0f10f5

doc/oUnit.advanced/OUnitDiff/SetMake/index.html

Module OUnitDiff.SetMake

Collection of elements based on a Set, elements order doesn't matter

Parameters

module D : DIFF_ELEMENT

Signature

type e = D.t

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 : Format.formatter -> t -> unit

Pretty printer a collection of element

val pp_diff : 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.