Top Level Namespace

Defined in:

Method Summary

Macro Summary

Method Detail

def 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. You |# | may obtain a copy of the License at http://mozilla.org/MPL/2.0/ |# +------------------------------------------------------------------------+#


[View source]

Macro Detail

macro assert(cond, desc = nil) #

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.


[View source]
macro debug(*items) #

[View source]