Functions | |
id | i () |
!if (i==0)%!i++ | |
!printf_assert ("%d\n", i) | |
!endif | !assert (prog_output_assert("1")) |
"fail\n" | printf_assert () |
!else | !printf_assert ("pass\n") |
!end | !assert (prog_output_assert("pass")) |
id | x () |
!if (eye(2))%!printf_assert("fail\n") | |
!elseif (x)%!printf_assert("pass\n") | |
!elseif (y)%!printf_assert("pass\n") | |
!if (y)%!printf_assert("pass\n") | |
Variables | |
!y = -2 |
! end !assert | ( | prog_output_assert("pass") | ) |
! endif !assert | ( | prog_output_assert("1") | ) |
!elseif | ( | y | ) |
!elseif | ( | x | ) |
!if | ( | y | ) |
!if | ( | eye(2) | ) |
!if | ( | i | = =0 |
) |
! else !printf_assert | ( | "pass\n" | ) |
!printf_assert | ( | "%d\n" | , | |
i | ||||
) |
id i | ( | ) | [virtual] |
"fail\n" printf_assert | ( | ) | [virtual] |
id x | ( | ) | [virtual] |
!y = -2 |