$darkmode
DENOPTIM
denoptim.graph.VertexTest Class Reference

Unit test for DENOPTIMVertex. More...

Public Member Functions

void testFromToJSON_minimal () throws Exception
 
void testFromToJSON_withSymmetricAPs () throws Exception
 
void testSameAs_Equal ()
 
void testSameAs_DiffAPNum ()
 
void testClone () throws Exception
 
void testGetMutationSites () throws Exception
 

Private Attributes

StringBuilder reason = new StringBuilder()
 

Detailed Description

Unit test for DENOPTIMVertex.

Author
Marco Foscato

Definition at line 46 of file VertexTest.java.

Member Function Documentation

◆ testClone()

◆ testFromToJSON_minimal()

void denoptim.graph.VertexTest.testFromToJSON_minimal ( ) throws Exception

◆ testFromToJSON_withSymmetricAPs()

void denoptim.graph.VertexTest.testFromToJSON_withSymmetricAPs ( ) throws Exception

Definition at line 77 of file VertexTest.java.

References denoptim.graph.SymmetricSet< T >.add(), denoptim.graph.EmptyVertex.addAP(), denoptim.graph.EmptyVertex.addSymmetricAPSet(), denoptim.graph.Vertex.fromJson(), denoptim.graph.Vertex.getAP(), denoptim.graph.Vertex.getSymmetricAPSets(), denoptim.graph.APClass.make(), and denoptim.graph.EmptyVertex.toJson().

Here is the call graph for this function:

◆ testGetMutationSites()

void denoptim.graph.VertexTest.testGetMutationSites ( ) throws Exception

◆ testSameAs_DiffAPNum()

void denoptim.graph.VertexTest.testSameAs_DiffAPNum ( )

Definition at line 141 of file VertexTest.java.

References denoptim.graph.EmptyVertex.addAP(), denoptim.graph.VertexTest.reason, and denoptim.graph.EmptyVertex.sameAs().

Here is the call graph for this function:

◆ testSameAs_Equal()

void denoptim.graph.VertexTest.testSameAs_Equal ( )

Definition at line 108 of file VertexTest.java.

References denoptim.graph.EmptyVertex.addAP(), denoptim.graph.VertexTest.reason, denoptim.graph.EmptyVertex.sameAs(), denoptim.graph.Vertex.setProperty(), and denoptim.graph.Vertex.setUniquefyingProperty().

Here is the call graph for this function:

Member Data Documentation

◆ reason

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

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