Skip to content
Snippets Groups Projects
Commit 2a40d497 authored by Fabian Vu's avatar Fabian Vu
Browse files

Try to fix two tests

parent fedd9e07
Branches
Tags
No related merge requests found
Pipeline #149377 failed
...@@ -3,6 +3,6 @@ int main() { ...@@ -3,6 +3,6 @@ int main() {
lift.inc(); lift.inc();
lift.inc(); lift.inc();
lift.inc(); lift.inc();
cout << lift._get_floor(); cout << lift._get_level();
return 0; return 0;
} }
\ No newline at end of file
...@@ -3,5 +3,5 @@ public static void main(String[] args) { ...@@ -3,5 +3,5 @@ public static void main(String[] args) {
lift.inc(); lift.inc();
lift.inc(); lift.inc();
lift.inc(); lift.inc();
System.out.println(lift._get_floor()); System.out.println(lift._get_level());
} }
\ No newline at end of file
...@@ -2,4 +2,4 @@ let lift: Lift = new Lift(); ...@@ -2,4 +2,4 @@ let lift: Lift = new Lift();
lift.inc(); lift.inc();
lift.inc(); lift.inc();
lift.inc(); lift.inc();
console.log(lift._get_floor().toString()); console.log(lift._get_level().toString());
\ No newline at end of file \ No newline at end of file
...@@ -3,4 +3,4 @@ if __name__ == '__main__': ...@@ -3,4 +3,4 @@ if __name__ == '__main__':
lift.inc() lift.inc()
lift.inc() lift.inc()
lift.inc() lift.inc()
print(lift._get_floor()) print(lift._get_level())
\ No newline at end of file \ No newline at end of file
...@@ -3,5 +3,5 @@ fn main() { ...@@ -3,5 +3,5 @@ fn main() {
lift.inc(); lift.inc();
lift.inc(); lift.inc();
lift.inc(); lift.inc();
println!("{}", lift._get_floor()); println!("{}", lift._get_level());
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment