[ADD] files to create packages and testing
This commit is contained in:
parent
1fb180734b
commit
a975655143
|
@ -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
|
Loading…
Reference in New Issue