From 89c708e1eef23578fe57be6eeda5379becfd3afa Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Mon, 16 Oct 2017 15:03:40 +0100 Subject: [PATCH] JAL-2777 test for the whitespace chain --- test/jalview/ext/rbvi/chimera/AtomSpecModelTest.java | 5 +++++ 1 file changed, 5 insertions(+) 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."); + } } -- 1.7.10.2