Package libchebi

Examples of libchebi.Relation


   * @throws IOException
   */
  @Test
  public void getOutgoingsExisting() throws IOException, ParseException
  {
    Assert.assertTrue( existing.getOutgoings().contains( new Relation( Type.is_a, 17634, "C" ) ) ); //$NON-NLS-1$
  }
View Full Code Here


   * @throws IOException
   */
  @Test
  public void getOutgoingsSecondary() throws IOException, ParseException
  {
    Assert.assertTrue( secondary.getOutgoings().contains( new Relation( Type.has_role, 48360, "C" ) ) ); //$NON-NLS-1$
  }
View Full Code Here

   * @throws IOException
   */
  @Test
  public void getIncomingsExisting() throws IOException, ParseException
  {
    Assert.assertTrue( existing.getIncomings().contains( new Relation( Type.has_functional_parent, 15866, "C" ) ) ); //$NON-NLS-1$
  }
View Full Code Here

   * @throws IOException
   */
  @Test
  public void getIncomingsSecondary() throws IOException, ParseException
  {
    Assert.assertTrue( secondary.getIncomings().contains( new Relation( Type.is_conjugate_acid_of, 29412, "C" ) ) ); //$NON-NLS-1$
  }
View Full Code Here

TOP

Related Classes of libchebi.Relation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.