rirrs
This commit is contained in:
parent
fae83d66d1
commit
80c1412991
2 changed files with 8 additions and 14 deletions
|
@ -1,14 +1 @@
|
|||
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);
|
||||
}
|
||||
}
|
||||
pub mod rir;
|
||||
|
|
7
src/iris-rs/rir.rs
Normal file
7
src/iris-rs/rir.rs
Normal file
|
@ -0,0 +1,7 @@
|
|||
pub enum RIR {
|
||||
Arin,
|
||||
Ripe,
|
||||
Lacninc,
|
||||
Apnic,
|
||||
Afrinic,
|
||||
}
|
Loading…
Reference in a new issue