start argus-parser

This commit is contained in:
Anand Balakrishnan 2023-09-05 10:28:12 -07:00
parent ac5867e7b0
commit 009a0ac18a
No known key found for this signature in database
3 changed files with 27 additions and 1 deletions

16
argus-parser/src/lib.rs Normal file
View file

@ -0,0 +1,16 @@
//! # Argus logic syntax
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);
}
}