tracks/rust/exercises/rotational-cipher/tests/rotational-cipher.rs in trackler-2.2.1.171 vs tracks/rust/exercises/rotational-cipher/tests/rotational-cipher.rs in trackler-2.2.1.172
- old
+ new
@@ -42,20 +42,28 @@
}
#[test]
#[ignore]
fn rotate_numbers() {
- assert_eq!("Xiwxmrk 1 2 3 xiwxmrk", cipher::rotate("Testing 1 2 3 testing", 4));
+ assert_eq!(
+ "Xiwxmrk 1 2 3 xiwxmrk",
+ cipher::rotate("Testing 1 2 3 testing", 4)
+ );
}
#[test]
#[ignore]
fn rotate_punctuation() {
- assert_eq!("Gzo\'n zvo, Bmviyhv!", cipher::rotate("Let\'s eat, Grandma!", 21));
+ assert_eq!(
+ "Gzo\'n zvo, Bmviyhv!",
+ cipher::rotate("Let\'s eat, Grandma!", 21)
+ );
}
#[test]
#[ignore]
fn rotate_all_the_letters() {
- assert_eq!("Gur dhvpx oebja sbk whzcf bire gur ynml qbt.",
- cipher::rotate("The quick brown fox jumps over the lazy dog.", 13));
+ assert_eq!(
+ "Gur dhvpx oebja sbk whzcf bire gur ynml qbt.",
+ cipher::rotate("The quick brown fox jumps over the lazy dog.", 13)
+ );
}