eval: add gt(), gte(), lt() and lte() fate tests
This commit is contained in:
parent
caac3ab6ef
commit
2d497c141d
2 changed files with 32 additions and 0 deletions
|
|
@ -596,6 +596,14 @@ int main(int argc, char **argv)
|
|||
"1Gi",
|
||||
"st(0, 123)",
|
||||
"st(1, 123); ld(1)",
|
||||
"lte(0, 1)",
|
||||
"lte(1, 1)",
|
||||
"lte(1, 0)",
|
||||
"lt(0, 1)",
|
||||
"lt(1, 1)",
|
||||
"gt(1, 0)",
|
||||
"gt(2, 7)",
|
||||
"gte(122, 122)",
|
||||
/* compute 1+2+...+N */
|
||||
"st(0, 1); while(lte(ld(0), 100), st(1, ld(1)+ld(0));st(0, ld(0)+1)); ld(1)",
|
||||
/* compute Fib(N) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue