example_lib/
module_b.rs

1pub mod module_c;
2
3pub fn hello() {
4    println!("hello b")
5}
6
7#[cfg(test)]
8mod tests {
9    use super::*;
10
11    #[test]
12    fn test_hello() {
13        hello();
14    }
15}