Top Level Namespace
Defined in:
Method Summary
-
unit_test(&)
+------------------------------------------------------------------------+# | Copyright © 2022 sourceweaver |# | Licensed under the Mozilla Public License, Version 2.0 (the "License").|# | You may not use this file except in compliance with the License.
Macro Summary
-
assert(cond, desc = nil)
Assert macro can be called anywhere from your code, but it's behavior will change based on the runtime flags.
- debug(*items)
Method Detail
+------------------------------------------------------------------------+# | Copyright © 2022 sourceweaver |# | Licensed under the Mozilla Public License, Version 2.0 (the "License").|# | You may not use this file except in compliance with the License. You |# | may obtain a copy of the License at http://mozilla.org/MPL/2.0/ |# +------------------------------------------------------------------------+#
Macro Detail
Assert macro can be called anywhere from your code, but it's behavior
will change based on the runtime flags.
Assertions will not be executed if you build your program in release
mode.
Assertions will throw Assertion::Error
if your assertion fails.
Assertions will display success messages if you build your program with the
unittest
flag.