Skip to content

Commit

Permalink
added run and it works
Browse files Browse the repository at this point in the history
  • Loading branch information
lordofwizard committed Oct 16, 2024
1 parent 4045de3 commit c5514c6
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
mod run;
use run::Run;
fn main() {
println!("Hello, world!");
}

fn add(a: i32, b: i32) -> i32 {
a + b
}

#[cfg(test)]
mod tests {
use super::*;

#[test]
fn test_add() {
assert_eq!(add(2, 3), 5);
}
Run::new();
}

0 comments on commit c5514c6

Please sign in to comment.