From 967045826308895a90641228d0886b7d10d524a5 Mon Sep 17 00:00:00 2001 From: Isaia Nisoli Date: Mon, 4 Nov 2024 21:11:18 -0300 Subject: [PATCH] Added tests, triggering codecov --- test/runtests.jl | 1 + test/test_types/test_algebra.jl | 4 ++++ test/test_types/test_matrix.jl | 6 ++++++ 3 files changed, 11 insertions(+) diff --git a/test/runtests.jl b/test/runtests.jl index d040d3c..7cae743 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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") diff --git a/test/test_types/test_algebra.jl b/test/test_types/test_algebra.jl index b1bdf9c..daef43a 100644 --- a/test/test_types/test_algebra.jl +++ b/test/test_types/test_algebra.jl @@ -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) diff --git a/test/test_types/test_matrix.jl b/test/test_types/test_matrix.jl index e69de29..e4cb8ae 100644 --- a/test/test_types/test_matrix.jl +++ b/test/test_types/test_matrix.jl @@ -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