Skip to content

Commit

Permalink
changed a few is() to is_deeply()
Browse files Browse the repository at this point in the history
  • Loading branch information
dwarring committed Jul 24, 2014
1 parent 659ac13 commit 52054d8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions integration/99problems-51-to-60.t
Expand Up @@ -78,17 +78,17 @@ plan 37;
}
}

is cbal-tree(1),
(['x', Any, Any],),
is_deeply [ cbal-tree(1) ],
[['x', Any, Any]],
'built a balanced binary tree with 1 item';

is cbal-tree(2),
(['x', ['x', Any, Any], Any],
['x', Any, ['x', Any, Any]],),
is_deeply [ cbal-tree(2) ],
[['x', ['x', Any, Any], Any],
['x', Any, ['x', Any, Any]]],
'built a balanced binary tree with 2 items';

is cbal-tree(3),
(['x', ['x', Any, Any], ['x', Any, Any]],),
is_deeply [ cbal-tree(3) ],
[['x', ['x', Any, Any], ['x', Any, Any]],],
'built a balanced binary tree with 3 items';

is +cbal-tree(4), 4, 'built the right number of balanced trees with 4 items';
Expand Down Expand Up @@ -189,7 +189,7 @@ plan 37;
return $tree;
}

is construct(3, 2, 5, 7, 1),
is_deeply construct(3, 2, 5, 7, 1),
[3, [2, [1, Any, Any], Any], [5, Any, [7, Any, Any]]],
'Can construct a binary search tree';
}
Expand Down

0 comments on commit 52054d8

Please sign in to comment.