[ https://issues.apache.org/jira/browse/SCB-1178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
wujimin resolved SCB-1178. -------------------------- Resolution: Done Fix Version/s: java-chassis-1.2.0 > 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 > Assignee: yangshaoqin1 > Priority: Major > Fix For: java-chassis-1.2.0 > > Time Spent: 10m > Remaining Estimate: 0h > > 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)