@@ -5,60 +5,60 @@ public class RotationalCipherTests
55 [ Fact ]
66 public void Rotate_a_by_0_same_output_as_input ( )
77 {
8- Assert . Equal ( a , RotationalCipher . Rotate ( "a" , 0 ) ) ;
8+ Assert . Equal ( "a" , RotationalCipher . Rotate ( "a" , 0 ) ) ;
99 }
1010
1111 [ Fact ( Skip = "Remove this Skip property to run this test" ) ]
1212 public void Rotate_a_by_1 ( )
1313 {
14- Assert . Equal ( b , RotationalCipher . Rotate ( "a" , 1 ) ) ;
14+ Assert . Equal ( "b" , RotationalCipher . Rotate ( "a" , 1 ) ) ;
1515 }
1616
1717 [ Fact ( Skip = "Remove this Skip property to run this test" ) ]
1818 public void Rotate_a_by_26_same_output_as_input ( )
1919 {
20- Assert . Equal ( a , RotationalCipher . Rotate ( "a" , 26 ) ) ;
20+ Assert . Equal ( "a" , RotationalCipher . Rotate ( "a" , 26 ) ) ;
2121 }
2222
2323 [ Fact ( Skip = "Remove this Skip property to run this test" ) ]
2424 public void Rotate_m_by_13 ( )
2525 {
26- Assert . Equal ( z , RotationalCipher . Rotate ( "m" , 13 ) ) ;
26+ Assert . Equal ( "z" , RotationalCipher . Rotate ( "m" , 13 ) ) ;
2727 }
2828
2929 [ Fact ( Skip = "Remove this Skip property to run this test" ) ]
3030 public void Rotate_n_by_13_with_wrap_around_alphabet ( )
3131 {
32- Assert . Equal ( a , RotationalCipher . Rotate ( "n" , 13 ) ) ;
32+ Assert . Equal ( "a" , RotationalCipher . Rotate ( "n" , 13 ) ) ;
3333 }
3434
3535 [ Fact ( Skip = "Remove this Skip property to run this test" ) ]
3636 public void Rotate_capital_letters ( )
3737 {
38- Assert . Equal ( TRL , RotationalCipher . Rotate ( "OMG" , 5 ) ) ;
38+ Assert . Equal ( " TRL" , RotationalCipher . Rotate ( "OMG" , 5 ) ) ;
3939 }
4040
4141 [ Fact ( Skip = "Remove this Skip property to run this test" ) ]
4242 public void Rotate_spaces ( )
4343 {
44- Assert . Equal ( T R L, RotationalCipher . Rotate ( "O M G" , 5 ) ) ;
44+ Assert . Equal ( " T R L" , RotationalCipher . Rotate ( "O M G" , 5 ) ) ;
4545 }
4646
4747 [ Fact ( Skip = "Remove this Skip property to run this test" ) ]
4848 public void Rotate_numbers ( )
4949 {
50- Assert . Equal ( Xiwxmrk 1 2 3 xiwxmrk , RotationalCipher . Rotate ( "Testing 1 2 3 testing" , 4 ) ) ;
50+ Assert . Equal ( " Xiwxmrk 1 2 3 xiwxmrk" , RotationalCipher . Rotate ( "Testing 1 2 3 testing" , 4 ) ) ;
5151 }
5252
5353 [ Fact ( Skip = "Remove this Skip property to run this test" ) ]
5454 public void Rotate_punctuation ( )
5555 {
56- Assert . Equal ( Gzo 'n zvo , Bmviyhv ! , RotationalCipher . Rotate ( "Let' s eat, Grandma!" , 21 ) ) ;
56+ Assert . Equal ( " Gzo'n zvo, Bmviyhv!" , RotationalCipher . Rotate ( "Let's eat, Grandma!" , 21 ) ) ;
5757 }
5858
5959 [ Fact ( Skip = "Remove this Skip property to run this test" ) ]
6060 public void Rotate_all_letters ( )
6161 {
62- Assert . Equal ( Gur dhvpx oebja sbk whzcf bire gur ynml qbt. , RotationalCipher . Rotate ( "The quick brown fox jumps over the lazy dog." , 13 ) ) ;
62+ Assert . Equal ( " Gur dhvpx oebja sbk whzcf bire gur ynml qbt." , RotationalCipher . Rotate ( "The quick brown fox jumps over the lazy dog." , 13 ) ) ;
6363 }
6464}
0 commit comments