This is about as close as we're gonna get to test cases. Also good for helping out inexperienced hackers to diagnose crashes in common cases such as bad warp nodes.
There should be three types of assertions used:
- Static assertions (i.e. compile time)
- Debug assertions (run only if using debug features)
- Release assertions (run always).
This is about as close as we're gonna get to test cases. Also good for helping out inexperienced hackers to diagnose crashes in common cases such as bad warp nodes.
There should be three types of assertions used: