Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joshday committed Mar 15, 2017
1 parent f9fc597 commit d11b160
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/runtests.jl
Expand Up @@ -61,6 +61,9 @@ end
LogPenalty(1.0)
@test_throws Exception LogPenalty(-1.0)

MCPPenalty()
MCPPenalty(1.0)
@test_throws Exception MCPPenalty(-1.0)
end

test_element_penalty(NoPenalty(), θ, s, 0.0, 0.0, θ)
Expand Down

0 comments on commit d11b160

Please sign in to comment.