Skip to content

Commit

Permalink
test_check
Browse files Browse the repository at this point in the history
  • Loading branch information
aburousan committed Nov 24, 2023
1 parent 9ff8501 commit e1a1e50
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
27 changes: 25 additions & 2 deletions src/cosmic.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
module cosmic

# Write your package code here.
include("test_f.jl")

end
export my_f






















end# module end
1 change: 1 addition & 0 deletions src/test_f.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
my_f(x,y) = 2x+3y
3 changes: 2 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ using cosmic
using Test

@testset "cosmic.jl" begin
# Write your tests here.
@test my_f(2,1) == 7
@test my_f(2,3) == 13
end

0 comments on commit e1a1e50

Please sign in to comment.