Initial commit

This commit is contained in:
2025-05-28 19:59:08 -04:00
commit 4c33e25fcd
3 changed files with 22 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
/target

7
Cargo.toml Normal file
View File

@@ -0,0 +1,7 @@
[package]
name = "icarus_envy"
version = "0.1.0"
edition = "2024"
rust-version = "1.86"
[dependencies]

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);
}
}