initial commit

This commit is contained in:
2025-07-02 23:10:50 +02:00
commit eb3d10e80f
15 changed files with 1046 additions and 0 deletions

16
src/lib.rs Normal file
View File

@@ -0,0 +1,16 @@
/// This is a sample library function.
/// It adds two numbers together.
pub fn add(left: usize, right: usize) -> usize {
left + right
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}