We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06ba6a5 commit 2515cecCopy full SHA for 2515cec
1 file changed
tests/runtime/cases/lib/tst_framework.bas
@@ -19,6 +19,18 @@
19
#define REPORT_FAIL \
20
SHOW_ERROR: FINISH
21
22
+#define ASSERT(val) \
23
+ IF NOT VAL THEN REPORT_FAIL
24
+
25
+#define SHOW_RESULT(IS_OK) \
26
+ IF IS_OK THEN \
27
+ SHOW_OK \
28
+ ELSE \
29
+ SHOW_ERROR \
30
+ END IF
31
32
+#define SHOW_RESULTLN(IS_OK) \
33
+ SHOW_RESULT(IS_OK): PRINT
34
35
#define INIT(msg) \
36
BORDER 0: PAPER 0: INK 7: CLS \
0 commit comments