示例#1
0
 public void Decode_with_no_spaces()
 {
     Assert.Equal("anobstacleisoftenasteppingstone", AtbashCipher.Decode("zmlyhgzxovrhlugvmzhgvkkrmthglmv"));
 }
示例#2
0
 public void Decode_with_too_many_spaces()
 {
     Assert.Equal("exercism", AtbashCipher.Decode("vc vix    r hn"));
 }
示例#3
0
 public void Decode_numbers()
 {
     Assert.Equal("testing123testing", AtbashCipher.Decode("gvhgr mt123 gvhgr mt"));
 }
示例#4
0
 public void Decode_all_the_letters()
 {
     Assert.Equal("thequickbrownfoxjumpsoverthelazydog", AtbashCipher.Decode("gsvjf rxpyi ldmul cqfnk hlevi gsvoz abwlt"));
 }
示例#5
0
 public void Decode_exercism()
 {
     Assert.Equal("exercism", AtbashCipher.Decode("vcvix rhn"));
 }