1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
mod calk1; mod calk2; pub use calk1::func_calk1; pub use calk2::func_calk2; #[cfg(test)] mod tests { use super::*; #[test] fn test_calk1() { func_calk1(); } #[test] fn test_calk2() { func_calk2(); } }