JAL-2103 fix test
authorJim Procter <jprocter@issues.jalview.org>
Thu, 12 May 2016 19:58:32 +0000 (20:58 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Thu, 12 May 2016 19:58:32 +0000 (20:58 +0100)
test/jalview/ws/jws1/JPredWSUtilsTest.java

index e930e55..b53877e 100644 (file)
@@ -51,12 +51,12 @@ public class JPredWSUtilsTest
     AlignmentI alpred = new Alignment(new SequenceI[] { al, s1, s2 });
     JPredWSUtils.insertHiddenResidues(alpred, '.', new int[] { 5, 6, 7, 8,
         9, 10, 11, 16, 17, 18, 19 }, orig);
-    Assert.assertEquals(alpred.getSequenceAt(2).getSequenceAsString(),
-            "....SSSSSSS-SS---S---SSSSSS---S....-S--SSSSSSSSS....");
-    Assert.assertEquals(alpred.getSequenceAt(1).getSequenceAsString(),
-            "....SSSSSSS-SSSSSSSSSSS----SSS-....S-SSS-----SSS....");
     Assert.assertEquals(alpred.getSequenceAt(0).getSequenceAsString(),
             "asdf-----P-P-P---P---P----P---Pasdf-P--PP---P---asdf");
+    Assert.assertEquals(alpred.getSequenceAt(1).getSequenceAsString(),
+            "....SSSSSSS-SS---S---SSSSSS---S....-S--SSSSSSSSS....");
+    Assert.assertEquals(alpred.getSequenceAt(2).getSequenceAsString(),
+            "....SSSSSSS-SSSSSSSSSSS----SSS-....S-SSS-----SSS....");
 
     // result:
     //