Testing (test)
Silk supports top-level test declarations that are discovered and executed by
silk test.
Full reference: testing.
Syntax#
test "addition works" {
if (1 + 2) != 3 {
std::abort();
}
}
See also#
Source repository · Edit this page · View Markdown