2 # Copyright (C) 2009, Parrot Foundation.
7 t/include/fp_equality.t - Test runtime/parrot/include/fp_equality.pasm
11 % prove t/include/fp_equality.t
20 .include 'fp_equality.pasm'
21 .include 'test_more.pir'
22 .local num epsilon, zplus, zminus
23 .local num oplus, ominus
31 .fp_eq_ok(zplus, 0, 'zero')
32 .fp_eq_ok(0, zplus, 'zero')
34 .fp_eq_ok(oplus, 1, 'one')
35 .fp_eq_ok(1, oplus, 'one')
43 # vim: expandtab shiftwidth=4 ft=pir: