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