Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Ortac_runtime_qcheck_stmSourceinclude module type of Ortac_runtimetype error = | Violated_axiom| Axiom_failure of {}| Violated_invariant of {term : string;position : term_kind;}| Violated_condition of {term : string;term_kind : term_kind;}| Specification_failure of {term : string;term_kind : term_kind;exn : exn;}| Unexpected_exception of {}| Uncaught_checks of {}| Unexpected_checks of {}type expected_result = | Value of STM.resThe value has been computed
*)| Protected_value of STM.resThe value has been computed but is protected as it could have been an exception
*)| Exception of stringAn exception is expected
*)| Out_of_domainThe computation of the expected returned value called a Gospel function out of its domain
*)This type carries the expected value computed from the Gospel specification if possible.
Information for the bug report in case of test failure
val report :
string ->
string ->
expected_result ->
string ->
(string * location) list ->
reportreport module_name init_sut ret cmd terms
append a b appends the violated terms of a and b if any in the returned report