Changeset 21165
- Timestamp:
- 07/02/08 06:08:36 (5 months ago)
- Files:
-
- 1 modified
-
t/spec/S29-num/abs.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
t/spec/S29-num/abs.t
r21108 r21165 21 21 22 22 for (0, 0.0, 1, 50, 60.0, 99.99) { 23 #?rakudo skip 'method fallback to sub unimpl'23 #?rakudo 2 skip '.abs on $_ unimplemented' 24 24 is(.abs, $_, 'got the right absolute value for $_='~$_); 25 #?rakudo skip 'method fallback to sub unimpl'26 25 is(WHAT .abs, WHAT $_, 'got the right data type('~WHAT($_)~') of absolute value for $_='~$_); 27 26 } 28 27 for (-1, -50, -60.0, -99.99) { 29 #?rakudo skip '.abs on $_ unimplemented'28 #?rakudo 2 skip '.abs on $_ unimplemented' 30 29 is(.abs, -$_, 'got the right absolute value for $_='~$_); 31 #?rakudo skip '.abs on $_ unimplemented'32 30 is(WHAT .abs, WHAT $_, 'got the right data type('~WHAT($_)~') of absolute value for $_='~$_); 33 31 }
