☰
Debian Codegraph
@
1.9.4-7
1.9.4-6
/
/
test-crates
/
transitive_path_dep
/
src
/
lib.rs
☽
☼
test-crates/transitive_path_dep/src/lib.rs
code
plain
raw
MIT
or
Apache-2.0
2018-2023 PyO3 Project and Contributors <https://github.com/PyO3>
debian/copyright
1
pub fn is_sum(x: usize, y: usize, sum: usize) -> bool {
2
x + y == sum
3
}
4
5
#[cfg(test)]
6
mod tests {
7
#[test]
8
fn it_works() {
9
assert_eq!(2 + 2, 4);
10
}
11
}