From: Jim Procter Date: Mon, 16 Oct 2017 14:03:40 +0000 (+0100) Subject: JAL-2777 test for the whitespace chain X-Git-Tag: Release_2_10_3b1~107^2~2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=89c708e1eef23578fe57be6eeda5379becfd3afa;p=jalview.git JAL-2777 test for the whitespace chain --- diff --git a/test/jalview/ext/rbvi/chimera/AtomSpecModelTest.java b/test/jalview/ext/rbvi/chimera/AtomSpecModelTest.java index c9e1cad..63d5e4e 100644 --- a/test/jalview/ext/rbvi/chimera/AtomSpecModelTest.java +++ b/test/jalview/ext/rbvi/chimera/AtomSpecModelTest.java @@ -29,6 +29,11 @@ public class AtomSpecModelTest assertEquals(model.getAtomSpec(), "#0:1-4.B,5-9.C|#1:2-5.A,8.A,5-10.B"); model.addRange(0, 3, 10, "C"); // subsumes 5-9 assertEquals(model.getAtomSpec(), "#0:1-4.B,3-10.C|#1:2-5.A,8.A,5-10.B"); + model.addRange(5, 25, 35, " "); // empty chain code - e.g. from homology + // modelling + assertEquals(model.getAtomSpec(), + "#0:1-4.B,3-10.C|#1:2-5.A,8.A,5-10.B|#5:25-35."); + } }