Initial commit

This commit is contained in:
2026-04-27 16:37:18 -06:00
commit 3e88e6f5c3
4 changed files with 28 additions and 0 deletions

14
src/lib.rs Normal file
View File

@@ -0,0 +1,14 @@
pub fn add(left: u64, right: u64) -> u64 {
left + right
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}