diff options
author | Sven Göthel <[email protected]> | 2024-04-30 13:26:52 +0200 |
---|---|---|
committer | Sven Göthel <[email protected]> | 2024-04-30 13:26:52 +0200 |
commit | bc2f88f037bb03ed34625a44d34a1171af808a18 (patch) | |
tree | 5787c2404bcffd7f700625c1ea82cbf0dd3fe9a8 /test/test_big_int01.hpp | |
parent | a86742c071cc0bfe0634ef1ad9a65aeca42fe054 (diff) |
math_error.hpp: Move to jau::math, which also fixed the (doxygen) Math Group (must reside under one namespace)
Diffstat (limited to 'test/test_big_int01.hpp')
-rw-r--r-- | test/test_big_int01.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_big_int01.hpp b/test/test_big_int01.hpp index 1c96572..861b26f 100644 --- a/test/test_big_int01.hpp +++ b/test/test_big_int01.hpp @@ -258,11 +258,11 @@ TEST_CASE( "MP Big Int Dec Test 11", "[big_int_t][inout][math]" ) { TEST_CASE( "MP Big Int Error Handling Test 88", "[big_int_t][error][arithmetic][math]" ) { { BigInt a = 1, b = 0, r; - REQUIRE_THROWS_MATCHES( r = a / b, MathDivByZeroError, Catch::Matchers::ContainsSubstring("div_by_zero") ); - REQUIRE_THROWS_MATCHES( r = a % b, MathDivByZeroError, Catch::Matchers::ContainsSubstring("div_by_zero") ); + REQUIRE_THROWS_MATCHES( r = a / b, jau::math::MathDivByZeroError, Catch::Matchers::ContainsSubstring("div_by_zero") ); + REQUIRE_THROWS_MATCHES( r = a % b, jau::math::MathDivByZeroError, Catch::Matchers::ContainsSubstring("div_by_zero") ); } { BigInt a = BigInt::from_s32(-1), b = BigInt::from_s32(-1), r; - REQUIRE_THROWS_MATCHES( r = a % b, MathDomainError, Catch::Matchers::ContainsSubstring("invalid") ); + REQUIRE_THROWS_MATCHES( r = a % b, jau::math::MathDomainError, Catch::Matchers::ContainsSubstring("invalid") ); } } |