diff --git a/test/unit_test/runtime/magnitude_test.cpp b/test/unit_test/runtime/magnitude_test.cpp index ff5e1ecf..3def404b 100644 --- a/test/unit_test/runtime/magnitude_test.cpp +++ b/test/unit_test/runtime/magnitude_test.cpp @@ -134,8 +134,10 @@ TEST_CASE("make_ratio performs prime factorization correctly") CHECK(as_magnitude() == as_magnitude<300>()); } - SECTION("Can support exp which would be large enough to cause overflow") + SECTION("Can handle prime factor which would be large enough to overflow int") { + // This was taken from a case which failed when we used `int` for our base to store prime numbers. + // The failure was due to a prime factor which is larger than 2^31. as_magnitude(); } }