blob: 9e6490485adab25c3c2e147f96093ee2d823cffd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#[allow(dead_code)]
fn guess_this () -> i32 {
let one = 5;
let two = 7;
let three = 3;
let result = (one + two) / three;
return result;
}
mod tests {
use super::*;
pub fn test_complicated () {
verify!(1, guess_this(), "Complicated example");
}
}
pub fn exec () {
tests::test_complicated();
}
|