Corso di Raku / Avanzato / Test e documentazione 🆕 / Test / Exercises

Un primo test

Problema

Usando il modulo Test, scrivi un singolo test ok che verifichi che la stringa Raku abbia quattro caratteri, con la descrizione Raku has four letters, e termina con done-testing.

Esempio

Il programma stampa:

ok 1 - Raku has four letters
1..1

Soluzione

Vedi la soluzione

Eseguire i test   |   Soluzione: Un primo test