Skip to content

Commit

Permalink
Merge pull request #3576 from JuliaReach/schillic/SSPZ
Browse files Browse the repository at this point in the history
Add tests for SSPZ
  • Loading branch information
schillic authored Jul 12, 2024
2 parents 883ba25 + d45835a commit b9a4504
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ const SSPZ = SimpleSparsePolynomialZonotope
include("center.jl")
include("convex_hull.jl")
include("genmat.jl")
include("isoperationtype.jl")
include("genmat_dep.jl")
include("genmat_indep.jl")
include("isoperationtype.jl")
include("ngens.jl")
include("ngens_indep.jl")
include("polynomial_order.jl")
Expand Down
4 changes: 4 additions & 0 deletions test/Sets/SimpleSparsePolynomialZonotope.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ for N in [Float64, Float32, Rational{Int}]
@test expmat(S) == E
@test dim(S) == 2
@test ngens(S) == 2
@test ngens_dep(S) == 2
@test ngens_indep(S) == 0
@test genmat_dep(S) == G
@test genmat_indep(S) == zeros(N, 2, 0)
@test nparams(S) == 2
@test order(S) == 1 // 1
@test polynomial_order(S) == 6
Expand Down

0 comments on commit b9a4504

Please sign in to comment.