[ADD] files to create packages and testing

This commit is contained in:
Eduardo Cueto Mendoza 2020-05-13 15:32:56 -06:00
parent 1fb180734b
commit a975655143
1 changed files with 12 additions and 0 deletions

12
runtests.jl Normal file
View File

@ -0,0 +1,12 @@
#push!(LOAD_PATH,".")
include("./Volume.jl")
#using Volume
using Test
# wite your own tests here
@test Volume.sphere_volume(0) == 0
for r in 1:10
@test 8*Volume.sphere_volume(r) == Volume.sphere_volume(2*r)
end