Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add more tests for timethese()

  • Loading branch information...
commit 5dc77a1bcadff093c04c9082902a9023f5871214 1 parent b8a9aaa
Tadeusz Sośnierz authored August 24, 2011

Showing 1 changed file with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. 6  t/basic.t
6  t/basic.t
... ...
@@ -1,6 +1,6 @@
1 1
 use Benchmark;
2 2
 use Test;
3  
-plan 19;
  3
+plan 23;
4 4
 
5 5
 my $count = 1;
6 6
 
@@ -15,3 +15,7 @@ ok $a ~~ Positional;
15 15
 my %h = foo => $code-sub, bar => $code-str;
16 16
 $a = timethese 4, %h;           # 8 runs
17 17
 ok $a ~~ Hash;
  18
+ok $a.exists: 'foo';
  19
+ok $a.exists: 'bar';
  20
+ok $a<foo> ~~ Positional;
  21
+ok $a<bar> ~~ Positional;

0 notes on commit 5dc77a1

Please sign in to comment.
Something went wrong with that request. Please try again.