<tests>
The <tests> element holds automated checks for a
<program> or other interactive coding example. It can
contain raw unit-test code or structured <iotest>
cases, depending on the kind of exercise.
Use <tests> when readers should be able to run or inspect checks on
their code.
Syntax
Attributes
| Attribute | Required? | Values |
|---|---|---|
visible = "…" | optional | "yes""no" |
Children
The following may appear as children:<iotest> TextParents
This element may appear as an immediate child of the following elements:<program>