Skip to content
Snippets Groups Projects
Commit 3186ffe7 authored by Maria Matejka's avatar Maria Matejka
Browse files

Added test case for switch bug fixed in e20bef69

parent af611f93
No related branches found
No related tags found
No related merge requests found
Pipeline #109073 failed
......@@ -109,6 +109,18 @@ function t_int()
bt_assert(!(i = 4));
bt_assert(1 <= 1);
bt_assert(!(1234 < 1234));
case i {
4200000000: bt_assert(true);
else: bt_assert(false);
}
case four {
4: bt_assert(true);
else: bt_assert(false);
}
}
bt_test_suite(t_int, "Testing integers");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment