Example for seperate tests in tests directory

This commit is contained in:
Stephan Rehfeld
2026-05-13 18:38:22 +02:00
parent 2649558ecd
commit c4a794c4f2
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -51,6 +51,6 @@ mod tests {
#[test]
#[should_panic]
fn foo() {
//panic!("This code panics!");
panic!("This code panics!");
}
}
+2
View File
@@ -0,0 +1,2 @@
#[test]
fn very_long_running_test() {}