ameyjadiye commented on issue #398: Add ComparableUtils
URL: https://github.com/apache/commons-lang/pull/398#issuecomment-565833015
 
 
   Initially I though below might fail, however my testings with diffrent 
values are working fine.
   API looks good to me.
   ```
   
           @Test
           void ameyVerification() {
               
               BigDecimal bg1, bg2;
   
               bg1 = new BigDecimal(0.7);
               bg2 = new BigDecimal(0.70000);
               
               assertTrue(is(bg1).equalTo(bg2));
               assertFalse(is(bg1).lessThan(bg2));
               assertFalse(is(bg1).greaterThan(bg2));
   
           }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to