The Octet Molecular Representation Framework v0.8.2

net.sf.octet.test
Class AtomGraphTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bynet.sf.octet.test.OctetTestCase
              extended bynet.sf.octet.test.AtomGraphTest
All Implemented Interfaces:
junit.framework.Test

public class AtomGraphTest
extends OctetTestCase

A test for BasicAtomGraph functionality.

Author:
Richard Apodaca

Constructor Summary
AtomGraphTest()
          Default constructor.
 
Method Summary
 void testCreateIllegalGraph()
          Verifies that attempts to create an illegal BasicSubgraph results in the appropriate exceptions being thrown.
 void testEmptyGraph()
          Tests bug #1258820 by constructing AtomGraphs with no Atoms or AtomPairs.
 void testGraphEquals()
          Verifies that two BasicAtomGraph subgraphs of cyclohexane return true for equals.
 
Methods inherited from class net.sf.octet.test.OctetTestCase
getMoleculeBuilder
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AtomGraphTest

public AtomGraphTest()
Default constructor.

Method Detail

testCreateIllegalGraph

public void testCreateIllegalGraph()
Verifies that attempts to create an illegal BasicSubgraph results in the appropriate exceptions being thrown.


testGraphEquals

public void testGraphEquals()
Verifies that two BasicAtomGraph subgraphs of cyclohexane return true for equals.


testEmptyGraph

public void testEmptyGraph()
Tests bug #1258820 by constructing AtomGraphs with no Atoms or AtomPairs.


The Octet Molecular Representation Framework v0.8.2