Skip to content

Commit 6715f7c

Browse files
more tests added
1 parent a845f88 commit 6715f7c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/runtests.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ end
123123
@Test.test r3g(d) == r
124124
end
125125

126+
@Test.test ReusableFunctions.computes == 1
127+
@Test.test ReusableFunctions.restarts == 39
128+
126129
#test to make sure it works if the JLD file is corrupted
127130
hashfilename = ReusableFunctions.gethashfilename(restartdir, d)
128131
run(`bash -c "echo blah >$hashfilename"`)
@@ -145,6 +148,9 @@ end
145148
end
146149
@Test.test t < 2. # this is slow under 1.0
147150

151+
@Test.test ReusableFunctions.computes == 11
152+
@Test.test ReusableFunctions.restarts == 51
153+
148154
if isdir(restartdir)
149155
rm(restartdir, recursive=true)
150156
end

0 commit comments

Comments
 (0)