Permalink
Browse files

Add test

  • Loading branch information...
1 parent 72eeb4b commit 2087aeb62f60aabbb35268e35345c314dd443d9d Steven Haryanto (on PC) committed Jan 16, 2013
Showing with 8 additions and 0 deletions.
  1. +3 −0 t/human-en_US.t
  2. +5 −0 t/human-id_ID.t
View
@@ -38,6 +38,9 @@ my @tests = (
{schema=>[array => of => [int => min=>1]],
result=>qr/array .+ each\sarray\selement\smust\sbe: .+
integer .+ at\sleast\s1/x},
+ # -- test ordinate()
+ {schema=>[array => elems => ["int"]],
+ result=>"array, 1st element must be: integer"},
# all
{schema=>[all => of => [[int => div_by=>2], [int => div_by=>5]]],
View
@@ -15,6 +15,11 @@ use Test::More 0.96;
my @tests = (
{schema=>"int",
result=>"bilangan bulat"},
+
+ # array
+ # -- test ordinate()
+ {schema=>[array => elems => ["int"]],
+ result=>"larik, elemen ke-1 harus: bilangan bulat"},
);
for my $test (@tests) {

0 comments on commit 2087aeb

Please sign in to comment.