feat: replace end2end test and add more test

This commit is contained in:
2026-04-22 21:52:31 +02:00
parent 92eefb5cf1
commit c2fc11bbeb
17 changed files with 251 additions and 139 deletions
+19
View File
@@ -0,0 +1,19 @@
[expected_return_code]
55
[code]
fn main() -> i32 {
let n = 10;
let a = 0;
let b = 1;
let i = 0;
while i < n {
let temp = a + b;
a = b;
b = temp;
i = i + 1;
}
return a;
}