kaputt

Testing tool
IN THIS PACKAGE
Module Kaputt . Mock
exception Unexpected_value of string
exception End_of_sequence
type ('a, 'b) t
val from_mapping : ?cmp:( 'a -> 'a -> int ) -> ?prn:( 'a -> string ) -> ('a * 'b) list -> ( 'a, 'b ) t
val from_sequence : ?cmp:( 'a -> 'a -> int ) -> ?prn:( 'a -> string ) -> ('a * 'b) list -> ( 'a, 'b ) t
val from_function : ?cmp:( 'a -> 'a -> int ) -> ( 'a -> 'b ) -> ( 'a, 'b ) t
val func : ( 'a, 'b ) t -> 'a -> 'b
val func2 : ( 'a1 * 'a2, 'b ) t -> 'a1 -> 'a2 -> 'b
val func3 : ( 'a1 * 'a2 * 'a3, 'b ) t -> 'a1 -> 'a2 -> 'a3 -> 'b
val func4 : ( 'a1 * 'a2 * 'a3 * 'a4, 'b ) t -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'b
val func5 : ( 'a1 * 'a2 * 'a3 * 'a4 * 'a5, 'b ) t -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'b
val count : ( 'a, 'b ) t -> 'a -> int
val total : ( 'a, 'b ) t -> int
val calls : ( 'a, 'b ) t -> 'a list