Skip to content

Commit

Permalink
Added a working test, which was failing before.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabisanth11 committed Oct 12, 2023
1 parent b9fa3a5 commit e4f365e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/MaximumAreaCoverageOptimization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ module MaximumAreaCoverageOptimization
export greet_my_package
include("functions.jl")

end
end
2 changes: 1 addition & 1 deletion src/functions.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
function greet_my_package()
println("Hello!")
return("Hello!")
end
2 changes: 2 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ using Test

@testset "MaximumAreaCoverageOptimization.jl" begin
@test MaximumAreaCoverageOptimization.greet_my_package() != "Hello world!"
@test MaximumAreaCoverageOptimization.greet_my_package() == "Hello!"
end

0 comments on commit e4f365e

Please sign in to comment.