This commit is contained in:
femsci 2023-10-17 14:44:51 +02:00
parent fae83d66d1
commit 80c1412991
Signed by: femsci
GPG key ID: 08F7911F0E650C67
2 changed files with 8 additions and 14 deletions

View file

@ -1,14 +1 @@
pub fn add(left: usize, right: usize) -> usize { pub mod rir;
left + right
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}

7
src/iris-rs/rir.rs Normal file
View file

@ -0,0 +1,7 @@
pub enum RIR {
Arin,
Ripe,
Lacninc,
Apnic,
Afrinic,
}