$darkmode
DENOPTIM
denoptim.graph.EdgeTest Class Reference

Unit test for DENOPTIMEdge. More...

Collaboration diagram for denoptim.graph.EdgeTest:
[legend]

Public Member Functions

void setUpClass ()
 
void testUndirectedComparison () throws Exception
 
void testConnectionDeconnectionLoop () throws Exception
 
void testSameAs_Equal () throws Exception
 
void testSameAs_DiffBndTyp () throws Exception
 

Private Attributes

EmptyVertex dummyVertexA
 
EmptyVertex dummyVertexB
 
StringBuilder reason = new StringBuilder()
 
AttachmentPoint dummyApA1
 
AttachmentPoint dummyApA2
 
AttachmentPoint dummyApB
 

Detailed Description

Unit test for DENOPTIMEdge.

Author
Marco Foscato

Definition at line 38 of file EdgeTest.java.

Member Function Documentation

◆ setUpClass()

void denoptim.graph.EdgeTest.setUpClass ( )

Definition at line 49 of file EdgeTest.java.

References denoptim.graph.EmptyVertex.addAP(), denoptim.graph.EdgeTest.dummyApA1, denoptim.graph.EdgeTest.dummyApA2, denoptim.graph.EdgeTest.dummyApB, denoptim.graph.EdgeTest.dummyVertexA, denoptim.graph.EdgeTest.dummyVertexB, and denoptim.graph.Vertex.getAP().

Here is the call graph for this function:

◆ testConnectionDeconnectionLoop()

void denoptim.graph.EdgeTest.testConnectionDeconnectionLoop ( ) throws Exception

◆ testSameAs_DiffBndTyp()

void denoptim.graph.EdgeTest.testSameAs_DiffBndTyp ( ) throws Exception

Definition at line 264 of file EdgeTest.java.

References denoptim.graph.Edge.BondType.DOUBLE, denoptim.graph.EdgeTest.dummyApA1, denoptim.graph.EdgeTest.dummyApA2, denoptim.graph.EdgeTest.reason, denoptim.graph.Edge.sameAs(), and denoptim.graph.Edge.BondType.SINGLE.

Here is the call graph for this function:

◆ testSameAs_Equal()

void denoptim.graph.EdgeTest.testSameAs_Equal ( ) throws Exception

Definition at line 251 of file EdgeTest.java.

References denoptim.graph.EdgeTest.dummyApA1, denoptim.graph.EdgeTest.dummyApA2, denoptim.graph.EdgeTest.reason, denoptim.graph.Edge.sameAs(), and denoptim.graph.Edge.BondType.UNDEFINED.

Here is the call graph for this function:

◆ testUndirectedComparison()

void denoptim.graph.EdgeTest.testUndirectedComparison ( ) throws Exception

Member Data Documentation

◆ dummyApA1

◆ dummyApA2

◆ dummyApB

AttachmentPoint denoptim.graph.EdgeTest.dummyApB
private

◆ dummyVertexA

EmptyVertex denoptim.graph.EdgeTest.dummyVertexA
private

◆ dummyVertexB

EmptyVertex denoptim.graph.EdgeTest.dummyVertexB
private

◆ reason

StringBuilder denoptim.graph.EdgeTest.reason = new StringBuilder()
private

The documentation for this class was generated from the following file: