mirror of
https://github.com/kjuulh/dagger-rs.git
synced 2024-11-26 16:53:13 +01:00
19 lines
264 B
Rust
19 lines
264 B
Rust
pub mod client;
|
|
pub mod gen;
|
|
mod querybuilder;
|
|
|
|
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);
|
|
}
|
|
}
|