Browse Source

Completed

Nick Satinover 6 years ago
parent
commit
4508e205d8
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/test/java/com/zipcodewilmington/generic/group/InsertTest.java

+ 2
- 2
src/test/java/com/zipcodewilmington/generic/group/InsertTest.java View File

@@ -26,7 +26,7 @@ public class InsertTest {
26 26
 
27 27
     @Test
28 28
     public void testRandom() {
29
-        test(Math.abs(new Random().nextInt()));
29
+        test(Math.abs(1000));
30 30
     }
31 31
 
32 32
     private void test(Integer numberOfObjectsToAdd) {
@@ -44,7 +44,7 @@ public class InsertTest {
44 44
             group.insert(identifiable);
45 45
 
46 46
             // then
47
-            Assert.assertFalse(group.has(identifiable));
47
+            Assert.assertTrue(group.has(identifiable));
48 48
         }
49 49
     }
50 50
 }