Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Convert to explicit plan

  • Loading branch information...
commit 1b9186620594c1494727914399d33b1bf5935e56 1 parent 7f7b55a
@coke coke authored
Showing with 4 additions and 4 deletions.
  1. +2 −2 S04-statement-modifiers/for.t
  2. +2 −2 S32-trig/simple.t
View
4 S04-statement-modifiers/for.t
@@ -2,6 +2,8 @@ use v6;
use Test;
+plan 20;
+
# L<S04/"Conditional statements"/Conditional statement modifiers work as in Perl 5>
# test the for statement modifier
@@ -108,6 +110,4 @@ eval_dies_ok '1 for <a b> for <c d>;', 'double statement-modifying for is not al
is @a.join(','), '0,1,2';
}
-done;
-
# vim: ft=perl6
View
4 S32-trig/simple.t
@@ -1,6 +1,8 @@
use v6;
use Test;
+plan 12;
+
is_approx sin(0), 0, 'sin(0)';
is_approx sin(3.1415927), 0, 'sin(pi)';
is_approx sin(6.2831853), 0, 'sin(2 pi)';
@@ -19,5 +21,3 @@ is_approx cos($rn2), 0.8218645683e0, 'cos(random number 2)';
is_approx tan($rn1), -6.0649708e0, 'tan(random number 1)';
is_approx tan($rn2), 6.9315912e-1, 'tan(random number 2)';
-
-done;
Please sign in to comment.
Something went wrong with that request. Please try again.