How do I write a test to verify that BigDecimal.toPlainString() returns numeric value, but not exponencial?
For example
<code>BigDecimal.valueOf("0.00000006").toPlainString()
</code>
<code>BigDecimal.valueOf("0.00000006").toPlainString()
</code>
BigDecimal.valueOf("0.00000006").toPlainString()
I want to write test without comparing result of toPlainString()
method and without given expected value, so I will not be sticked to exact BigDecimal value.