Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Atbash Cipher exercise needs tests for empty input

Open
#353 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
35/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
cpp
Domain
testing-qa

Research direction

Locate the Atbash Cipher exercise tests and review the existing encode and decode cases. Add coverage for empty input using the supplied expectations, then run the exercise test suite; done means both empty-string cases pass.

Written by the indexing model from the issue text.

Description

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.

Dominant language
C++
Stars
291
Forks
244
Avg merge
17m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from exercism/cpp

All issues in exercism/cpp

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.