From 18ca8fe9c000244b6d1ce6a4c3d821b01631871b Mon Sep 17 00:00:00 2001 From: Brandon Johnson Date: Tue, 10 Sep 2024 23:18:00 -0600 Subject: [PATCH] test: fix railfence cipher test improper class and func naming --- tests/Ciphers/RailfenceCipherTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Ciphers/RailfenceCipherTest.php b/tests/Ciphers/RailfenceCipherTest.php index dbfcc0d2..b37fe81c 100644 --- a/tests/Ciphers/RailfenceCipherTest.php +++ b/tests/Ciphers/RailfenceCipherTest.php @@ -5,9 +5,9 @@ require_once __DIR__ . '/../../vendor/autoload.php'; // Adjust the path as needed require_once __DIR__ . '/../../Ciphers/RailfenceCipher.php'; // Adjust the path as needed -class RailFenceCipherTest extends TestCase +class RailfenceCipherTest extends TestCase { - public function testRailFenceCipherCase1() + public function testRailfenceCipherCase1() { $plainMessage = "ABCDEF"; $rails = 3; @@ -15,7 +15,7 @@ public function testRailFenceCipherCase1() $decodedMessage = Raildecode($cipherMessage, $rails); $this->assertEquals($plainMessage, $decodedMessage); } - public function testRailFenceCipherCase2() + public function testRailfenceCipherCase2() { $plainMessage = "THIS IS RAILFENCE"; $rails = 3;