$darkmode
DENOPTIM
|
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() |
Unit test for DENOPTIMVertex.
Definition at line 46 of file VertexTest.java.
void denoptim.graph.VertexTest.testClone | ( | ) | throws Exception |
Definition at line 161 of file VertexTest.java.
References denoptim.graph.EmptyVertex.addAP(), denoptim.graph.Fragment.addAPOnAtom(), denoptim.graph.Fragment.addAtom(), denoptim.graph.Fragment.addBond(), denoptim.graph.EmptyVertex.clone(), denoptim.graph.Fragment.clone(), denoptim.graph.Vertex.getAllAPClasses(), denoptim.graph.EmptyVertex.getNumberOfAPs(), denoptim.graph.Vertex.getNumberOfAPs(), denoptim.graph.Vertex.getProperty(), denoptim.graph.EmptyVertex.getSymmetricAPSets(), denoptim.graph.Fragment.getSymmetricAPSets(), denoptim.graph.Vertex.getSymmetricAPSets(), denoptim.graph.Vertex.getVertexId(), denoptim.graph.Vertex.isRCV, denoptim.graph.APClass.make(), and denoptim.graph.Vertex.setProperty().
void denoptim.graph.VertexTest.testFromToJSON_minimal | ( | ) | throws Exception |
Definition at line 53 of file VertexTest.java.
References denoptim.graph.Vertex.VertexType.EmptyVertex, denoptim.graph.Vertex.BBType.FRAGMENT, denoptim.graph.Vertex.fromJson(), denoptim.graph.Vertex.VertexType.MolecularFragment, denoptim.graph.Vertex.VertexType.Template, denoptim.graph.EmptyVertex.toJson(), denoptim.graph.Fragment.toJson(), denoptim.graph.Template.toJson(), and denoptim.graph.Vertex.vertexType.
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().
void denoptim.graph.VertexTest.testGetMutationSites | ( | ) | throws Exception |
Definition at line 215 of file VertexTest.java.
References denoptim.graph.Vertex.BBType.CAP, denoptim.utils.MutationType.EXTEND, denoptim.graph.Vertex.BBType.FRAGMENT, denoptim.graph.Vertex.getMutationSites(), denoptim.graph.Vertex.BBType.NONE, denoptim.graph.Vertex.BBType.SCAFFOLD, denoptim.graph.Vertex.setMutationTypes(), and denoptim.graph.Vertex.BBType.UNDEFINED.
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().
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().
|
private |
Definition at line 48 of file VertexTest.java.
Referenced by denoptim.graph.VertexTest.testSameAs_DiffAPNum(), and denoptim.graph.VertexTest.testSameAs_Equal().