From: jprocter Date: Fri, 1 Jun 2012 10:17:01 +0000 (+0100) Subject: test demonstrating JWS-29 assertion failure X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=6256f785b5baf779b46ac1d9a5d3d9bec7a2b96c;p=jabaws.git test demonstrating JWS-29 assertion failure --- diff --git a/testsrc/compbio/data/sequence/FastaReaderTester.java b/testsrc/compbio/data/sequence/FastaReaderTester.java index d57bbe5..3a3b747 100644 --- a/testsrc/compbio/data/sequence/FastaReaderTester.java +++ b/testsrc/compbio/data/sequence/FastaReaderTester.java @@ -34,6 +34,9 @@ public class FastaReaderTester { static FastaSequence s3 = new FastaSequence(" 12 d t y wi k jbke ", " KLSHHDCD" + " N" + " H" + " HSKCTEPHCGNSHQML\n\rHRDP" + " CCDQCQSWEAENWCASMRKAILF"); + static FastaSequence s4 = new FastaSequence(" 12 d t>y wi->foo k jbke ", + " KLSHHDCD" + " N" + " H" + " HSKCTEPHCGNSHQML\n\rHRDP" + + " CCDQCQSWEAENWCASMRKAILF"); @Test() public void test() { @@ -68,6 +71,7 @@ public class FastaReaderTester { Assert.assertEquals(FastaReaderTester.s1, list.get(1)); Assert.assertEquals(FastaReaderTester.s2, list.get(2)); Assert.assertEquals(FastaReaderTester.s3, list.get(3)); + Assert.assertEquals(FastaReaderTester.s4, list.get(4)); } } diff --git a/testsrc/testdata/complicated.fasta b/testsrc/testdata/complicated.fasta index 3c891d6..e0a71d5 100644 --- a/testsrc/testdata/complicated.fasta +++ b/testsrc/testdata/complicated.fasta @@ -20,4 +20,11 @@ EFITEA WWGRWGAITFFHAH ENKNEIQECSDQNLKE SRTTCEIID TCHLFTRHLDGW N H HSKCTEPHCGNSHQMLHRDP - CCDQCQSWEAENWCASMRKAILF \ No newline at end of file + CCDQCQSWEAENWCASMRKAILF + > 12 d t>y wi->foo k jbke + KLSHHDCD + N + H + HSKCTEPHCGNSHQMLHRDP + CCDQCQSWEAENWCASMRKAILF + \ No newline at end of file