Skip to content

Commit 1d954d0

Browse files
committed
Allow each test file to be run independently
1 parent 6fe63cf commit 1d954d0

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

test/basic.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
using Combinatorics
2+
using Base.Test
3+
14
# catalan
25
@test Combinatorics.catalan(5) == 42
36
@test Combinatorics.catalan(30) == parse(BigInt,"3814986502092304")

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Combinatorics
22
using Base.Test
3-
using Compat
3+
44
include("basic.jl")
55
include("youngdiagrams.jl")
66

test/youngdiagrams.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
using Combinatorics
2+
using Base.Test
3+
14
@test ([5,4,2,2]\[2,1]) == ([5, 4, 2, 2],[2, 1])
25
@test isrimhook([4,3,2], [2,2,2])
36
@test !isrimhook([4,3,2], [2,2,1])

0 commit comments

Comments
 (0)