Skip to content

Commit

Permalink
Added tests, triggering codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
orkolorko committed Nov 5, 2024
1 parent 65e73ae commit 9670458
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ using Test
include("test_matrix_classifier/test_matrix_classifier.jl")
include("test_types/test_algebra.jl")
include("test_types/test_vector.jl")
include("test_types/test_matrix.jl")
include("test_types/test_vector_operations.jl")
include("test_eigen/test_eigen.jl")
include("test_interval_arithmetic_ext/test_interval_arithmetic_ext.jl")
Expand Down
4 changes: 4 additions & 0 deletions test/test_types/test_algebra.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@

@test check_included(bsum, isum)

bsum = B + bA

@test check_included(bsum, isum)

A = BallArithmetic.NumericalTest._test_matrix(16)

bA = BallMatrix(A)
Expand Down
6 changes: 6 additions & 0 deletions test/test_types/test_matrix.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@testset "Matrix type" begin
A = BallMatrix(rand(4, 4))

B = copy(A)
@test A.c == B.c && A.r == B.r
end

0 comments on commit 9670458

Please sign in to comment.