agb/tracker/agb-xm/src/lib.rs

15 lines
212 B
Rust
Raw Normal View History

2023-07-12 21:10:05 +10:00
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);
}
}