use v6-alpha; use Test; =pod This file was derived from the perl5 CPAN module Perl6::Rules, version 0.3 (12 Apr 2004), file t/assert.t. It has (hopefully) been, and should continue to be, updated to be valid perl6. =cut plan 4; if !eval('("a" ~~ /a/)') { skip_rest "skipped tests - rules support appears to be missing"; } else { ok(eval(' "1" ~~ m/ (\d) <($0 < 5)> / '), '1 < 5', :todo ); ok(eval(' !( "5" ~~ m/ (\d) <($/[-1] < 5)> / ) '), '5 !< 5', :todo ); ok(eval(' " x 254" ~~ m/x (\d+): <($/[-1] < 255)> / '), '254 < 255', :todo ); ok(eval(' !( " x 255" ~~ m/x (\d+): <($/[-1] < 255)> / ) '), '255 !< 255', :todo ); }