Changeset 11114 in josm for trunk/test/performance
- Timestamp:
- 2016-10-09T23:50:56+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/performance/org/openstreetmap/josm/data/osm/KeyValuePerformanceTest.java
r10758 r11114 2 2 package org.openstreetmap.josm.data.osm; 3 3 4 import static org.junit.Assert.assertEquals; 4 5 import static org.junit.Assert.assertFalse; 5 6 import static org.junit.Assert.assertNotSame; … … 66 67 for (int i = 0; i < STRING_INTERN_TESTS; i++) { 67 68 // warm up 68 assert True(str1.equals(str1B));69 assertEquals(str1, str1B); 69 70 } 70 71 … … 77 78 timer = PerformanceTestUtils.startTimer("str1.equals(str2) succeeds (without intern)"); 78 79 for (int i = 0; i < STRING_INTERN_TESTS; i++) { 79 assert True(str1.equals(str1B));80 assertEquals(str1, str1B); 80 81 } 81 82 timer.done();
Note:
See TracChangeset
for help on using the changeset viewer.