diff -r 91a64ba395f7 -r 637d4775e79e docs/Writerside/topics/test.h.md
--- a/docs/Writerside/topics/test.h.md Sun Apr 06 13:13:52 2025 +0200
+++ b/docs/Writerside/topics/test.h.md Sun Apr 06 13:21:17 2025 +0200
@@ -22,7 +22,7 @@
-
+d = 42;
@@ -38,10 +38,10 @@
}
free(x);
}
-
+]]>
-
+d;
}
-
+]]>
@@ -93,7 +93,7 @@
Instead, you define a callable test subroutine with `CX_TEST_SUBROUTINE` and call it with `CX_TEST_CALL_SUBROUTINE`.
The following example illustrates this with an adaption of the above test case.
-
+d = d;
CX_TEST_ASSERT(foo(x) == d);
@@ -108,7 +108,7 @@
}
free(x);
}
-
+]]>
> Any test function, test case or test subroutine, is a normal C function.
> As such you can decide to make them `static` when you do not want external linkage.