Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ public void testToConciseAlignmentString() {
String result,expected;
int i=0;

test = new HashMap<Integer, Integer>();
test = new LinkedHashMap<Integer, Integer>();
test.put(1, 2);
test.put(2, 3);
test.put(3, 4);
Expand All @@ -331,7 +331,7 @@ public void testToConciseAlignmentString() {
Assert.assertEquals((i++) + ". Linear strings.", expected, result);


test = new HashMap<Integer, Integer>();
test = new LinkedHashMap<Integer, Integer>();
test.put(1, 2);
test.put(2, 3);
test.put(3, 1);
Expand All @@ -341,7 +341,7 @@ public void testToConciseAlignmentString() {
result = AlignmentTools.toConciseAlignmentString(test);
Assert.assertEquals((i++) + ". Cycles.", expected, result);

test = new HashMap<Integer, Integer>();
test = new LinkedHashMap<Integer, Integer>();
test.put(1, 2);
test.put(2, 3);
test.put(3, 1);
Expand All @@ -351,7 +351,7 @@ public void testToConciseAlignmentString() {
result = AlignmentTools.toConciseAlignmentString(test);
Assert.assertEquals((i++) + ". Complex.", expected, result);

test = new HashMap<Integer, Integer>();
test = new LinkedHashMap<Integer, Integer>();
test.put(1, 2);
test.put(2, 3);
test.put(3, 4);
Expand All @@ -376,7 +376,7 @@ public void testToConciseAlignmentString() {
result = AlignmentTools.toConciseAlignmentString(test);
Assert.assertEquals((i++) + ". Sub-optimal arrangement", expected, result);

Map <Integer,Double> test2 = new HashMap<Integer, Double>();
Map <Integer,Double> test2 = new LinkedHashMap<Integer, Double>();
test2.put(1, 12.);
test2.put(2, 13.);
test2.put(3, 14.);
Expand Down