Skip to content

Commit c0e0025

Browse files
committed
use nbinclude to test notebooks
1 parent e3e537e commit c0e0025

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

test/REQUIRE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
Interpolations
2+
NBInclude
3+
Plots

test/runtests.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
using Base.Test
22
using RegionTrees
33
using StaticArrays
4+
using NBInclude
45

56
include("hyperrectangle.jl")
67
include("cell.jl")
78
include("twosarray.jl")
89
include("asdfs.jl")
10+
11+
const notebooks_dir = joinpath(dirname(@__FILE__), "..", "examples")
12+
nbinclude(joinpath(notebooks_dir, "demo.ipynb"))
13+
nbinclude(joinpath(notebooks_dir, "adaptive_distances.ipynb"))

0 commit comments

Comments
 (0)