git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-4134 efficiency improvement
[jalview.git]
/
test
/
jalview
/
datamodel
/
AlignedCodonIteratorTest.java
diff --git
a/test/jalview/datamodel/AlignedCodonIteratorTest.java
b/test/jalview/datamodel/AlignedCodonIteratorTest.java
index
dd3ec7c
..
af9bbb7
100644
(file)
--- a/
test/jalview/datamodel/AlignedCodonIteratorTest.java
+++ b/
test/jalview/datamodel/AlignedCodonIteratorTest.java
@@
-58,9
+58,9
@@
public class AlignedCodonIteratorTest
from.createDatasetSequence();
SequenceI to = new Sequence("Seq1", "-PQ-R-");
to.createDatasetSequence();
from.createDatasetSequence();
SequenceI to = new Sequence("Seq1", "-PQ-R-");
to.createDatasetSequence();
- MapList map = new MapList(
- new int[] { 1, 1, 3, 4, 6, 6, 8, 10, 12, 13 },
- new int[] { 1, 3 }, 3, 1);
+ MapList map = new MapList(new int[] { 1, 1, 3, 4, 6, 6, 8, 10, 12, 13 },
+ new int[]
+ { 1, 3 }, 3, 1);
Mapping m = new Mapping(to.getDatasetSequence(), map);
Iterator<AlignedCodon> codons = m.getCodonIterator(from, '-');
Mapping m = new Mapping(to.getDatasetSequence(), map);
Iterator<AlignedCodon> codons = m.getCodonIterator(from, '-');
@@
-86,9
+86,9
@@
public class AlignedCodonIteratorTest
from.createDatasetSequence();
SequenceI to = new Sequence("Seq1", "-PQ-TR-");
to.createDatasetSequence();
from.createDatasetSequence();
SequenceI to = new Sequence("Seq1", "-PQ-TR-");
to.createDatasetSequence();
- MapList map = new MapList(
- new int[] { 1, 1, 3, 4, 6, 6, 8, 10, 12, 13 }, new int[] { 1,
- 2, 4, 4 }, 3, 1);
+ MapList map = new MapList(new int[] { 1, 1, 3, 4, 6, 6, 8, 10, 12, 13 },
+ new int[]
+ { 1, 2, 4, 4 }, 3, 1);
Mapping m = new Mapping(to.getDatasetSequence(), map);
Iterator<AlignedCodon> codons = m.getCodonIterator(from, '-');
Mapping m = new Mapping(to.getDatasetSequence(), map);
Iterator<AlignedCodon> codons = m.getCodonIterator(from, '-');
@@
-115,7
+115,8
@@
public class AlignedCodonIteratorTest
SequenceI to = new Sequence("Seq1", "-PQ-R-");
to.createDatasetSequence();
MapList map = new MapList(new int[] { 1, 1, 3, 4, 6, 6, 8, 8 },
SequenceI to = new Sequence("Seq1", "-PQ-R-");
to.createDatasetSequence();
MapList map = new MapList(new int[] { 1, 1, 3, 4, 6, 6, 8, 8 },
- new int[] { 1, 3 }, 3, 1);
+ new int[]
+ { 1, 3 }, 3, 1);
Mapping m = new Mapping(to.getDatasetSequence(), map);
Iterator<AlignedCodon> codons = m.getCodonIterator(from, '-');
Mapping m = new Mapping(to.getDatasetSequence(), map);
Iterator<AlignedCodon> codons = m.getCodonIterator(from, '-');
@@
-142,7
+143,8
@@
public class AlignedCodonIteratorTest
from.createDatasetSequence();
SequenceI to = new Sequence("Seq1", "CHYQ");
to.createDatasetSequence();
from.createDatasetSequence();
SequenceI to = new Sequence("Seq1", "CHYQ");
to.createDatasetSequence();
- MapList map = new MapList(new int[] { 1, 12 }, new int[] { 1, 4 }, 3, 1);
+ MapList map = new MapList(new int[] { 1, 12 }, new int[] { 1, 4 }, 3,
+ 1);
Mapping m = new Mapping(to.getDatasetSequence(), map);
Iterator<AlignedCodon> codons = m.getCodonIterator(from, '-');
Mapping m = new Mapping(to.getDatasetSequence(), map);
Iterator<AlignedCodon> codons = m.getCodonIterator(from, '-');
@@
-171,8
+173,10
@@
public class AlignedCodonIteratorTest
from.createDatasetSequence();
SequenceI to = new Sequence("Seq1/10-12", "-PQ-R-");
to.createDatasetSequence();
from.createDatasetSequence();
SequenceI to = new Sequence("Seq1/10-12", "-PQ-R-");
to.createDatasetSequence();
- MapList map = new MapList(new int[] { 7, 7, 9, 10, 12, 12, 14, 16, 18,
- 19 }, new int[] { 10, 12 }, 3, 1);
+ MapList map = new MapList(
+ new int[]
+ { 7, 7, 9, 10, 12, 12, 14, 16, 18, 19 }, new int[] { 10, 12 },
+ 3, 1);
Mapping m = new Mapping(to.getDatasetSequence(), map);
Iterator<AlignedCodon> codons = m.getCodonIterator(from, '-');
Mapping m = new Mapping(to.getDatasetSequence(), map);
Iterator<AlignedCodon> codons = m.getCodonIterator(from, '-');