Krys4lide/crates/services-sesam-vitale-sys/src/lib.rs

18 lines
242 B
Rust
Raw Normal View History

mod types;
use types::*;
2024-08-03 17:23:23 +02:00
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);
}
}