test demonstrating JWS-29 assertion failure
authorjprocter <jprocter@compbio.dundee.ac.uk>
Fri, 1 Jun 2012 10:17:01 +0000 (11:17 +0100)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Fri, 1 Jun 2012 10:17:01 +0000 (11:17 +0100)
testsrc/compbio/data/sequence/FastaReaderTester.java
testsrc/testdata/complicated.fasta

index d57bbe5..3a3b747 100644 (file)
@@ -34,6 +34,9 @@ public class FastaReaderTester {
        static FastaSequence s3 = new FastaSequence(" 12 d t y wi               k       jbke    ",\r
                        "  KLSHHDCD" + "   N" + "    H" + "    HSKCTEPHCGNSHQML\n\rHRDP"\r
                                        + "    CCDQCQSWEAENWCASMRKAILF");\r
+       static FastaSequence s4 = new FastaSequence(" 12 d t>y wi->foo          k       jbke    ",\r
+                       "  KLSHHDCD" + "   N" + "    H" + "    HSKCTEPHCGNSHQML\n\rHRDP"\r
+                                       + "    CCDQCQSWEAENWCASMRKAILF");\r
        @Test()\r
        public void test() {\r
 \r
@@ -68,6 +71,7 @@ public class FastaReaderTester {
                Assert.assertEquals(FastaReaderTester.s1, list.get(1));\r
                Assert.assertEquals(FastaReaderTester.s2, list.get(2));\r
                Assert.assertEquals(FastaReaderTester.s3, list.get(3));\r
+               Assert.assertEquals(FastaReaderTester.s4, list.get(4));\r
 \r
        }\r
 }\r
index 3c891d6..e0a71d5 100644 (file)
@@ -20,4 +20,11 @@ EFITEA       WWGRWGAITFFHAH  ENKNEIQECSDQNLKE        SRTTCEIID   TCHLFTRHLDGW
    N\r
     H\r
     HSKCTEPHCGNSHQMLHRDP\r
-    CCDQCQSWEAENWCASMRKAILF
\ No newline at end of file
+    CCDQCQSWEAENWCASMRKAILF\r
+   > 12 d t>y wi->foo          k       jbke    \r
+  KLSHHDCD\r
+   N\r
+    H\r
+    HSKCTEPHCGNSHQMLHRDP\r
+    CCDQCQSWEAENWCASMRKAILF\r
+    
\ No newline at end of file