yangshaoqin1 created SCB-1178:
---------------------------------

             Summary: In the unit test, the issue of assertEquals and 
Float.MAX_VALUE.
                 Key: SCB-1178
                 URL: https://issues.apache.org/jira/browse/SCB-1178
             Project: Apache ServiceComb
          Issue Type: Improvement
          Components: Java-Chassis
            Reporter: yangshaoqin1


In unit tests, code like the following can pass the test, which means that 
there is an invalid unit test code that needs to be improved.
{code:java}
Assert.assertEquals(Float.MAX_VALUE, Float.MAX_VALUE-1,0);
Assert.assertEquals(Float.MAX_VALUE, Float.MAX_VALUE-100000,0);
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to