Debian Codegraph @

test-crates/some_path_dep/src/lib.rs

raw
1 pub use transitive_path_dep::is_sum;
2
3 pub fn add(x: usize, y: usize) -> usize {
4 x + y
5 }
6
7 #[cfg(test)]
8 mod tests {
9 #[test]
10 fn it_works() {
11 assert_eq!(add(2, 2), 4);
12 }
13 }