File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
csharp/EPAM.Deltix.DFP.Test
java/dfp/src/test/java/com/epam/deltix/dfp Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1272,8 +1272,8 @@ public void Issue91ToFloatString()
1272
1272
[ Test ]
1273
1273
public void TestShortenMantissaBigDelta ( )
1274
1274
{
1275
- Assert . AreEqual ( Decimal64 . Parse ( "9000000000000000 " ) ,
1276
- Decimal64 . Parse ( "9999000000000000" ) . ShortenMantissa ( DotNetImpl . MaxCoefficient / 2 , 2 ) ) ;
1275
+ Assert . AreEqual ( Decimal64 . Parse ( "10000000000000000 " ) ,
1276
+ Decimal64 . Parse ( "9999000000000000" ) . ShortenMantissa ( DotNetImpl . MaxCoefficient / 10 , 2 ) ) ;
1277
1277
}
1278
1278
1279
1279
[ Test ]
Original file line number Diff line number Diff line change @@ -251,8 +251,8 @@ public void testShortenMantissaDenormalized() {
251
251
252
252
@ Test
253
253
public void testShortenMantissaBigDelta () {
254
- Assert .assertEquals (Decimal64 .parse ("9000000000000000 " ),
255
- Decimal64 .parse ("9999000000000000" ).shortenMantissa (JavaImpl .MAX_COEFFICIENT / 2 , 2 ));
254
+ Assert .assertEquals (Decimal64 .parse ("10000000000000000 " ),
255
+ Decimal64 .parse ("9999000000000000" ).shortenMantissa (JavaImpl .MAX_COEFFICIENT / 10 , 2 ));
256
256
}
257
257
258
258
@ Test
You can’t perform that action at this time.
0 commit comments