Skip to content

Commit

Permalink
Added read command line arg test
Browse files Browse the repository at this point in the history
  • Loading branch information
markowkes committed Jul 30, 2024
1 parent 731bb51 commit 63a82d6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ end
include("test_TimeIntegration.jl")
println("Checking result")
@test error <= 1e-1

println("\n Running test_commandLineArgs\n ==============")
include("test_commandLineArgs.jl")
println("Checking result")
@test errCode == 0
# end
# end

Expand Down
4 changes: 4 additions & 0 deletions test/test_commandLineArgs.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
using Biofilm

pushfirst!(ARGS, "Case5_Phototroph.jl")
errCode = Biofilm.julia_main()

0 comments on commit 63a82d6

Please sign in to comment.