Add tests for previous commit
This commit is contained in:
parent
ded58071a1
commit
cccf36eb4f
21 changed files with 86 additions and 3 deletions
11
tests/generators/nim/test_conditional_ifelseif.c
Normal file
11
tests/generators/nim/test_conditional_ifelseif.c
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
int main() {
|
||||
if (a > b) {
|
||||
printf("A is greater");
|
||||
}
|
||||
else if (a == b) {
|
||||
printf("A and B are equal");
|
||||
}
|
||||
else {
|
||||
printf("A is less than B");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue