17 \h'-\w'\\$1\ 'u'\\$1\ \c
33 .TH tvec-adhoc 3 "11 March 2024" "Straylight/Edgeware" "mLib utilities library"
35 tvec-adhoc \- ad-hoc testing with the test vector framework
43 .\" @TVEC_TESTGROUP_TAG
56 .B "#include <mLib/tvec.h>"
58 .BI "const struct tvec_config tvec_adhocconfig;"
59 .BI "void tvec_adhoc(struct tvec_state *" tv ", struct tvec_test *" t );
61 .ta \w'\fBvoid tvec_begingroup('u
62 .BI "void tvec_begingroup(struct tvec_state *" tv ", const char *" name ,
63 .BI " const char *" file ", unsigned " lno );
64 .BI "void TVEC_BEGINGROUP(struct tvec_state *" tv ", const char *" name );
65 .BI "void tvec_endgroup(struct tvec_state *" tv );
66 .BI "TVEC_TESTGROUP(" tv ", " name ") " body
67 .BI "TVEC_TESTGROUP_TAG(" tag ", " tv ", " name ") " body
68 .ta \w'\fBvoid tvec_begintest('u
69 .BI "void tvec_begintest(struct tvec_state *" tv ,
70 .BI " const char *" file ", unsigned " lno );
71 .BI "void TVEC_BEGINTEST(struct tvec_state *" tv );
72 .BI "void tvec_endtest(struct tvec_state *" tv );
73 .BI "TVEC_TEST(" tv ") " body
74 .BI "TVEC_TEST_TAG(" tag ", " tv ") " body
76 .ta \w'\fBint tvec_claim('u
77 .BI "int tvec_claim(struct tvec_state *" tv ", int " ok ,
78 .BI " const char *" file ", unsigned " lno ,
79 .BI " const char *" msg ", ...);"
80 .ta \w'\fBint tvec_claim_v('u
81 .BI "int tvec_claim_v(struct tvec_state *" tv ", int " ok ,
82 .BI " const char *" file ", unsigned " lno ,
83 .BI " const char *" msg ", va_list *" ap );
84 .BI "int TVEC_CLAIM(struct tvec_state *" tv ", int " cond );
85 .ta \w'\fBint tvec_claim_eq('u
86 .BI "int tvec_claim_eq(struct tvec_state *" tv ,
87 .BI " const struct tvec_regty *" ty ,
88 .BI " const union tvec_misc *" arg ,
89 .BI " const char *" file ", unsigned " lno ,
90 .BI " const char *" expr );