Skip to content

Commit 527111e

Browse files
committed
Fix test headers
1 parent f6afe2c commit 527111e

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

test/basic.jl

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
using Catalan
2-
using Base.Test
3-
41
# catalan
52
@test catalan(5) == 42
63
@test catalan(30) == BigInt("3814986502092304")
@@ -44,9 +41,9 @@ using Base.Test
4441
# bell
4542
@test bell(7) == 877
4643
@test bell(42) == BigInt("35742549198872617291353508656626642567")
47-
@test_throws bell(-1)
44+
@test_throws DomainError bell(-1)
4845

4946
# integer_partitions
50-
@test integer_partitions(5) == {[1, 1, 1, 1, 1], [2, 1, 1, 1], [2, 2, 1], [3, 1, 1], [3, 2], [4, 1], [5]}
51-
@test_throws partitions(-1)
47+
@test integer_partitions(5) == Any[[1, 1, 1, 1, 1], [2, 1, 1, 1], [2, 2, 1], [3, 1, 1], [3, 2], [4, 1], [5]]
48+
@test_throws DomainError partitions(-1)
5249

test/runtests.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
using Combinatorics
2+
using Base.Test
13
include("basic.jl")
24
include("youngdiagrams.jl")
35

0 commit comments

Comments
 (0)