Skip to content

Commit

Permalink
[t] Add tests to i_abs in Complex PMC
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandobrito committed Dec 15, 2010
1 parent 402fd88 commit aea1cf6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion t/pmc/complex.t
Expand Up @@ -20,7 +20,7 @@ Tests the Complex PMC.
.include 'fp_equality.pasm'
.include "iglobals.pasm"

plan(619)
plan(620)

string_parsing()
exception_malformed_string__real_part()
Expand Down Expand Up @@ -592,6 +592,9 @@ handler:
$P1 = new ['Undef']
abs $P1, $P0
is( $P1, "5", 'abs 4+3j -> 5' )

abs $P0
is( $P1, "5", 'abs (in-place) 4+3j -> 5' )
.end

.sub check_whether_interface_is_done
Expand Down

0 comments on commit aea1cf6

Please sign in to comment.