|
|
@@ -7,6 +7,13 @@ public class RotationalCipherTest {
|
|
7
|
7
|
private RotationalCipher rotationalCipher;
|
|
8
|
8
|
|
|
9
|
9
|
@Test
|
|
|
10
|
+ public void rotateSingleCharacterBy0() {
|
|
|
11
|
+ rotationalCipher = new RotationalCipher(0);
|
|
|
12
|
+ Assert.assertEquals("a", rotationalCipher.rotate("a"));
|
|
|
13
|
+ }
|
|
|
14
|
+
|
|
|
15
|
+ @Ignore("Remove to run test")
|
|
|
16
|
+ @Test
|
|
10
|
17
|
public void rotateSingleCharacterBy1() {
|
|
11
|
18
|
rotationalCipher = new RotationalCipher(1);
|
|
12
|
19
|
Assert.assertEquals("b", rotationalCipher.rotate("a"));
|
|
|
@@ -21,13 +28,6 @@ public class RotationalCipherTest {
|
|
21
|
28
|
|
|
22
|
29
|
@Ignore("Remove to run test")
|
|
23
|
30
|
@Test
|
|
24
|
|
- public void rotateSingleCharacterBy0() {
|
|
25
|
|
- rotationalCipher = new RotationalCipher(0);
|
|
26
|
|
- Assert.assertEquals("a", rotationalCipher.rotate("a"));
|
|
27
|
|
- }
|
|
28
|
|
-
|
|
29
|
|
- @Ignore("Remove to run test")
|
|
30
|
|
- @Test
|
|
31
|
31
|
public void rotateSingleCharacterBy13() {
|
|
32
|
32
|
rotationalCipher = new RotationalCipher(13);
|
|
33
|
33
|
Assert.assertEquals("z", rotationalCipher.rotate("m"));
|