Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions exercises/practice/affine-cipher/affine_cipher.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
#ifndef AFFINE_CIPHER_H
#define AFFINE_CIPHER_H
#pragma once

namespace affine_cipher {

// TODO: add your solution here

} // namespace affine_cipher

#endif // AFFINE_CIPHER_H
5 changes: 5 additions & 0 deletions exercises/practice/crypto-square/.meta/tests.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,8 @@ description = "8 character plaintext results in 3 chunks, the last one with a tr

[fbcb0c6d-4c39-4a31-83f6-c473baa6af80]
description = "54 character plaintext results in 7 chunks, the last two with trailing spaces"
include = false

[33fd914e-fa44-445b-8f38-ff8fbc9fe6e6]
description = "54 character plaintext results in 8 chunks, the last two with trailing spaces"
reimplements = "fbcb0c6d-4c39-4a31-83f6-c473baa6af80"
4 changes: 2 additions & 2 deletions exercises/practice/crypto-square/crypto_square_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ TEST_CASE(

TEST_CASE(
// clang-format off
"54 character plaintext results in 7 chunks, the last two with trailing spaces",
"54 character plaintext results in 8 chunks, the last two with trailing spaces",
// clang-format on
"[fbcb0c6d-4c39-4a31-83f6-c473baa6af80]") {
"[33fd914e-fa44-445b-8f38-ff8fbc9fe6e6]") {
REQUIRE("imtgdvs fearwer mayoogo anouuio ntnnlvt wttddes aohghn sseoau " ==
crypto_square::cipher("If man was meant to stay on the ground, god "
"would have given us roots.")
Expand Down
Loading