From 60eefb228c9b5c2846d3640d68ae5a7ccb0c254d Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Mon, 1 Jun 2026 16:09:22 +0200 Subject: Adding unary - operator --- modules/codec/tests/math.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/codec/tests') diff --git a/modules/codec/tests/math.cpp b/modules/codec/tests/math.cpp index 34dcce8..18b6c41 100644 --- a/modules/codec/tests/math.cpp +++ b/modules/codec/tests/math.cpp @@ -76,6 +76,8 @@ SAW_TEST("Math/Tensor"){ SAW_EXPECT(d.at({{1u,0u}}).get() == 1.0, std::string{"Unexpected value at (1,0): "} + std::to_string(d.at({{1u,0u}}).get())); SAW_EXPECT(d.at({{1u,1u}}).get() == 1.0, std::string{"Unexpected value at (1,1): "} + std::to_string(d.at({{1u,1u}}).get())); } + + auto e = -a; } SAW_TEST("Math/Rotate"){ -- cgit v1.2.3