InChIToStructure { public long[][] getWarningFlags() { return (output.getWarningFlags()); } protected  InChIToStructure(String inchi, IChemObjectBuilder builder); protected  InChIToStructure(String inchi, IChemObjectBuilder builder, String options); protected  InChIToStructure(String inchi, IChemObjectBuilder builder, List<String> options); IAtomContainer getAtomContainer(); INCHI_RET getReturnStatus(); String getMessage(); String getLog(); long[][] getWarningFlags();  }
@Test public void testGetWarningFlags() throws CDKException { InChIToStructure parser = new InChIToStructure("InChI=1S/CH5/h1H4", DefaultChemObjectBuilder.getInstance()); parser.getAtomContainer(); long[][] flags = parser.getWarningFlags(); assertNotNull(flags); Assert.assertEquals(2, flags.length); Assert.assertEquals(2, flags[0].length); Assert.assertEquals(2, flags[1].length); }