Created
January 3, 2019 23:17
-
-
Save alejandrociatti/6bb874dadf047b3dc6d208512f5c60cc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test/ # this directory contains the tests for the Calculus module | |
runtests.jl # this file runs the tests | |
using Calculus # obviously the tests use the Calculus module... | |
using Base.Test # and the Base.Test module... | |
tests = ["finite_difference", ... # the test file names are stored as strings... | |
for t in tests | |
include("$(t).jl") # ... so that they can be evaluated in a loop | |
end | |
... | |
finite_difference.jl # this file contains tests for finite differences, | |
@test ... # ... its name is included and run by runtests.jl | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment