The Octet Molecular Representation Framework v0.8.2

net.sf.octet.test
Class DepthTraverserTest

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

public class DepthTraverserTest
extends OctetTestCase

A test case for BasicDepthFirstTraverser and its helpers.

Author:
Richard Apodaca

Constructor Summary
DepthTraverserTest()
          Default constructor.
 
Method Summary
 void testTraverseCubane()
          Uses a BasicDepthFirstTraverser to walk some of the Atoms of cubane.
 void testTraverseCyclohexane()
          Uses a BasicDepthFirstTraverser to walk some of the Atoms of cyclohexane.
 void testTraverseHexane()
          Uses a BasicDepthFirstTraverser to walk some of the Atoms of hexane.
 void testTraverseIsopentane()
          Uses a BasicDepthFirstTraverser to walk some of the Atoms of isopentane.
 
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

DepthTraverserTest

public DepthTraverserTest()
Default constructor.

Method Detail

testTraverseHexane

public void testTraverseHexane()
Uses a BasicDepthFirstTraverser to walk some of the Atoms of hexane. Verifies branching and cycle perception give the expected results.


testTraverseIsopentane

public void testTraverseIsopentane()
Uses a BasicDepthFirstTraverser to walk some of the Atoms of isopentane. Verifies branching and cycle perception give the expected results.


testTraverseCyclohexane

public void testTraverseCyclohexane()
Uses a BasicDepthFirstTraverser to walk some of the Atoms of cyclohexane. Verifies branching and cycle perception give the expected results.


testTraverseCubane

public void testTraverseCubane()
Uses a BasicDepthFirstTraverser to walk some of the Atoms of cubane. Verifies branching and cycle perception give the expected results.


The Octet Molecular Representation Framework v0.8.2