Course of Raku / Advanced / Testing and documentation 🆕 / Testing 🆕 / The Test module
Quiz — Testing
In the Test module, which function passes when a Boolean
condition is true?
| 1 | ok |
| 0 | is |
| 0 | plan |
| 0 | done-testing |
ok takes a condition and passes when it is true.
is compares an actual value with an expected one,
plan states how many tests to expect, and
done-testing ends the file and emits the plan.