1 2 3 4 5 6 7 8 9
#[cfg(test)] mod tests { #[test] fn test_to_platin() { let foo = "Hello, amazing world!"; assert_eq!("ellohay amazinghay orldway", igpay::to_platin(foo)); } }