ionspin / kotlin-multiplatform-bignum

A Kotlin multiplatform library for arbitrary precision arithmetics
Apache License 2.0
345 stars 41 forks source link

Division test failures are being ignored #245

Closed sproctor closed 1 year ago

sproctor commented 1 year ago

Exceptions thrown from coroutines are not being caught in the test context and so tests are passing despite having failures.

https://github.com/ionspin/kotlin-multiplatform-bignum/blob/main/bignum/src/jvmTest/kotlin/com/ionspin/kotlin/bignum/decimal/BigDecimalJvmTest.kt#L415

This test is failing. If you remove the launch it will properly trigger the failure

ionspin commented 1 year ago

Thanks for reporting!