Atbash Cipher exercise needs tests for empty input
Aperta
- 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.