@Test public void invalidAtomSymbol() throws Exception { assertFalse(MDLV2000Reader.isPseudoElement("RNA")); assertFalse(MDLV2000Reader.isPseudoElement("DNA")); assertFalse(MDLV2000Reader.isPseudoElement("ACP")); }
@Test public void atomListAtomSymbol() throws Exception { assertTrue(MDLV2000Reader.isPseudoElement("L")); }
@Test public void lonePairAtomSymbol() throws Exception { assertTrue(MDLV2000Reader.isPseudoElement("LP")); }
@Test public void rGroupAtomSymbol_hash() throws Exception { assertTrue(MDLV2000Reader.isPseudoElement("R#")); }
@Test public void heavyAtomSymbol() throws Exception { assertTrue(MDLV2000Reader.isPseudoElement("A")); }
@Test public void hetroAtomSymbol() throws Exception { assertTrue(MDLV2000Reader.isPseudoElement("Q")); }
@Test public void unspecifiedAtomSymbol() throws Exception { assertTrue(MDLV2000Reader.isPseudoElement("*")); }
@Test public void rGroupAtomSymbol() throws Exception { assertTrue(MDLV2000Reader.isPseudoElement("R")); }
if (!isPseudoElement(symbol)) { handleError("invalid symbol: " + symbol, lineNum, 31, 34);