diff options
| author | mo8it <mo8it@proton.me> | 2024-04-17 22:46:21 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-04-17 22:46:21 +0200 |
| commit | cb9f1ac9ce3c834b0cca964b6809b74508f80b54 (patch) | |
| tree | f168d86b6035d7d9e357ac53cd36c2b8928f399b /exercises/17_tests/tests3.rs | |
| parent | d83cc69afecf59fba184755591d73c7208988574 (diff) | |
Require a main function in all exercises
Diffstat (limited to 'exercises/17_tests/tests3.rs')
| -rw-r--r-- | exercises/17_tests/tests3.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/exercises/17_tests/tests3.rs b/exercises/17_tests/tests3.rs index d815e05..a2093cf 100644 --- a/exercises/17_tests/tests3.rs +++ b/exercises/17_tests/tests3.rs @@ -11,6 +11,10 @@ pub fn is_even(num: i32) -> bool { num % 2 == 0 } +fn main() { + // You can optionally experiment here. +} + #[cfg(test)] mod tests { use super::*; |
