1 2 3 4 5 6 7 8 9 10
extern crate add3; pub fn add6(x: i32) -> i32 { add3::add3(add3::add3(x)) } #[test] fn it_works() { assert_eq!(13, add6(7)); }
1 2 3 4 5 6 7 8 9 10
extern crate add3; pub fn add6(x: i32) -> i32 { add3::add3(add3::add3(x)) } #[test] fn it_works() { assert_eq!(13, add6(7)); }