Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
assert_raises e_opt f x
returns unit
if f x
raises * the exception within e_opt
, or any exception if e_opt
is None
assert_raises e_opt f x
returns unit
if f x
raises * the exception within e_opt
, or any exception if e_opt
is None
timeout i f x
executes f x
, terminating in at most i
* seconds. Raises Timeout
if f x
was killed early.