1 2 3 4 5 6 7 8 9 10 11 12 13 14
#[macro_use] extern crate litcrypt; use_litcrypt!("MY-SECRET-SPELL"); #[test] pub fn test_literal1() { assert_eq!(lc!("Kucing Garong"), "Kucing Garong"); } #[test] pub fn test_literal2() { assert_eq!(lc!("Very secret word"), "Very secret word"); }