exercism / exercism/cpp

Atbash Cipher exercise needs tests for empty input

Aperta
#353 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
290
Fork
244
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The Atbash Cipher needs additional tests for empty strings...

```
TEST_CASE("encode_empty_string")
{
REQUIRE("" == atbash::encode(""));
}
TEST_CASE("decode_empty_string")
{
REQUIRE("" == atbash::decode(""));
}

```
In particular student code can fail encode empty string with improper handling of trailing white space.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.