Skip to content

Commit af2d47d

Browse files
committed
Error in number of tests in DS timing
1 parent 94d6c11 commit af2d47d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/com/jwetherell/algorithms/data_structures/timing/DataStructuresTiming.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ public class DataStructuresTiming {
3838
private static final Random RANDOM = new Random();
3939
private static final DecimalFormat FORMAT = new DecimalFormat("0.##");
4040
private static final int NUMBER_OF_TESTS = 3; // There will always be NUMBER_OF_TESTS+1 runs since the first round is thrown away (JITing)
41-
private static final int ARRAY_SIZE = 1024*20; // Number of items to add/remove/look-up from each data structure
41+
private static final int ARRAY_SIZE = 1024*10; // Number of items to add/remove/look-up from each data structure
4242
private static final int RANDOM_SIZE = 1000 * ARRAY_SIZE;
4343
private static final Integer INVALID = RANDOM_SIZE + 10;
4444

45-
private static final int TESTS = 39; // Max number of dynamic data structures to test
45+
private static final int TESTS = 40; // Max number of dynamic data structures to test
4646
private static final String[] TEST_NAMES = new String[TESTS]; // Array to hold the test names
4747
private static final long[][] TEST_RESULTS = new long[TESTS][]; // Array to hold the test results
4848

0 commit comments

Comments
 (0)