update tests to new comparisons

This commit is contained in:
Quentin Carbonneaux 2016-02-11 20:02:31 -05:00
parent 21d637efc8
commit cfa285395e
11 changed files with 23 additions and 23 deletions

View file

@ -3,14 +3,14 @@ function $test() {
%x =w copy 3
%n =w copy 2
@loop
%c =w ceq %n, 10000
%c =w ceqw %n, 10000
jnz %c, @end, @next
@next
%t =w copy 3
%x =w add %x, 2
@tloop
%s =w mul %t, %t
%c =w csgt %s, %x
%c =w csgtw %s, %x
jnz %c, @prime, @test
@test
%r =w rem %x, %t