package ounit2

  1. Overview
  2. Docs

Module OUnitUtilsSource

Utilities for OUnit

  • author Sylvain Le Gall
Sourceval is_blank : char -> bool
Sourceval trim : string -> string
Sourceval trim_comment : string -> string
Sourceval split_lines : string -> string list
Sourceval starts_with : prefix:string -> string -> bool
Sourceval start_substr : prefix:string -> string -> bool * string
Sourceval extract_backtrace_position : string -> (string * int) option list
Sourceval cmp_float : ?epsilon:float -> float -> float -> bool
Sourceval buff_format_printf : (Format.formatter -> 'a) -> string
Sourceval mapi : ('a -> int -> 'b) -> 'a list -> 'b list
Sourceval fold_lefti : ('a -> 'b -> int -> 'a) -> 'a -> 'b list -> 'a
Sourceval now : unit -> float
Sourceval time_fun : ('a -> 'b) -> 'a -> float * 'b
Sourceval date_iso8601 : ?tz:bool -> float -> string
Sourceval buildir : string
Sourceval failwithf : ('a, unit, string, 'b) format4 -> 'a
Sourceval opt : ('a -> unit) -> 'a option -> unit
Sourceval fqdn : unit -> string
Sourceval shardf : int -> string
Sourceval string_of_process_status : Unix.process_status -> string
Sourceval make_counter : unit -> (unit -> ('a * int) list) * ('a -> unit)
OCaml

Innovation. Community. Security.