File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/com/jwetherell/algorithms/data_structures
test/com/jwetherell/algorithms/data_structures/test Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ private boolean remove(int index) {
111111 return true ;
112112 }
113113
114- // Grow the array by 50% and rearrange to make sequential
114+ // Triple the size of the underlying array and rearrange to make sequential
115115 private void grow (int size ) {
116116 int growSize = (size + (size <<1 ));
117117 T [] temp = (T []) new Object [growSize ];
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public class QueueTests {
1616
1717 @ Test
1818 public void testArrayQueue () {
19- TestData data = Utils .generateTestData (100 );
19+ TestData data = Utils .generateTestData (100000 );
2020
2121 String aName = "Queue [array]" ;
2222 Queue .ArrayQueue <Integer > aQueue = new Queue .ArrayQueue <Integer >();
You can’t perform that action at this time.
0 commit comments