[RELEASE] Version 0.0.7 #9
15
src/lib.rs
15
src/lib.rs
@ -1,18 +1,3 @@
|
||||
pub mod router;
|
||||
pub mod entities;
|
||||
pub mod utilities;
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user