Course of Raku / Advanced / Testing and documentation 🆕 / Testing 🆕 / Exercises

Compare values

Problem

Using the Test module’s is function, check that 'a'.uc equals 'A', with the description uppercase. Finish with done-testing.

Example

The program prints:

ok 1 - uppercase
1..1

Solution

See the solution

Course navigation

Solution: A first test   |   Solution: Compare values