20 lines
287 B
Rust
20 lines
287 B
Rust
pub mod cps;
|
|
pub mod libssv;
|
|
pub mod ssv_memory;
|
|
pub mod ssvlib_demo;
|
|
|
|
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);
|
|
}
|
|
}
|