mirror of
https://github.com/BlackMATov/vmath.hpp.git
synced 2025-12-16 14:11:28 +07:00
relational operators instead relational functions, add relational operators for matrix
This commit is contained in:
@@ -270,14 +270,4 @@ TEST_CASE("vmath/mat") {
|
||||
STATIC_REQUIRE(int2x2(1,2,3,4) != int2x2(2,2,3,4));
|
||||
STATIC_REQUIRE(int2x2(1,2,3,4) != int2x2(1,3,3,4));
|
||||
}
|
||||
|
||||
SUBCASE("operator<") {
|
||||
STATIC_REQUIRE_FALSE(int2x2(1,2,3,4) < int2x2(1,2,3,4));
|
||||
|
||||
STATIC_REQUIRE(int2x2(1,1,3,4) < int2x2(1,2,3,4));
|
||||
STATIC_REQUIRE_FALSE(int2x2(1,2,3,4) < int2x2(1,1,3,4));
|
||||
|
||||
STATIC_REQUIRE(int2x2(0,3,3,4) < int2x2(1,2,3,4));
|
||||
STATIC_REQUIRE_FALSE(int2x2(1,2,3,4) < int2x2(0,3,3,4));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user