dagger-components/crates/cuddle-components/src/lib.rs
kjuulh 2e5c7afb22
feat: add base packages
Signed-off-by: kjuulh <contact@kjuulh.io>
2023-08-11 16:55:44 +02:00

15 lines
216 B
Rust

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