OUnit user guide : OUnitUtils

# Module OUnitUtils

    module OUnitUtils: sig .. end

* Utilities for OUnit * *
Author(s): Sylvain Le Gall

    val is_blank : char -> bool

    val trim : string -> string

    val trim_comment : string -> string

    val split_lines : string -> string list

    val starts_with : prefix:string -> string -> bool

    val start_substr : prefix:string -> string -> bool * string

    val extract_backtrace_position : string -> (string * int) option list

    val cmp_float : ?epsilon:float -> float -> float -> bool

    val buff_format_printf : (Format.formatter -> 'a) -> string

    val mapi : ('a -> int -> 'b) -> 'a list -> 'b list

    val fold_lefti : ('a -> 'b -> int -> 'a) -> 'a -> 'b list -> 'a

    val now : unit -> float

    val time_fun : ('a -> 'b) -> 'a -> float * 'b

    val date_iso8601 : ?tz:bool -> float -> string

    val buildir : string

    val failwithf : ('a, unit, string, 'b) Pervasives.format4 -> 'a

    val opt : ('a -> unit) -> 'a option -> unit

    val fqdn : unit -> string

    val shardf : int -> string

    val string_of_process_status : Unix.process_status -> string

    val make_counter : unit -> (unit -> ('a * int) list) * ('a -> unit)