Writing test Blocks
Tests live right next to your code.
Tests Live in Your Code
In Zig you do not need a separate test file. A test block sits right beside the code it checks, in the very same source file.
The test Keyword
You start a test with the test keyword, a name in quotes, and a block. The compiler collects every one of these for you.
test "adds two numbers" {
// checks go here
}