Tests
Tests, in the reference of the Soma programming language (soma 3.2.4). A block marked ✓ is a whole program that soma check accepts; the others are excerpts.
A complete Soma program: soma check passes on it (soma 3.2.4).
cell test MathTests {
rules {
assert 1 + 1 == 2
assert len("hello") == 5
assert round(3.7) == 4
}
}
// Run: soma test file.cell