From ec633807462fb96f7ce4f96cfe494a10789a8f09 Mon Sep 17 00:00:00 2001 From: Karen Date: Fri, 16 May 2025 16:46:38 +0200 Subject: [PATCH] [TEST][ARITHMETICS] added tests for the operator+ --- test/basic/operators.cpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/test/basic/operators.cpp b/test/basic/operators.cpp index 0734aef..4a81d07 100644 --- a/test/basic/operators.cpp +++ b/test/basic/operators.cpp @@ -28,4 +28,27 @@ TTS_CASE("Check operator*") a *= 10.5; TTS_EQUAL(a, ref); +}; + +TTS_CASE("Check operator matrix + matrix") +{ + rotgen::matrix mat1(3,4); + rotgen::matrix mat2(3,4); + rotgen::matrix mat_sum(3,4); + + for(std::size_t r=0;r