dagger-rs/crates/dagger-sdk/src/lib.rs
2023-01-29 15:23:03 +01:00

17 lines
230 B
Rust

pub mod gen;
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);
}
}