PHP Class Fhaculty\Graph\Tests\GraphTest

Afficher le fichier Open project: clue/graph

Méthodes publiques

Méthode Description
setup ( )
testCanCreateVertex ( ) check to make sure we can actually create vertices with automatic IDs
testCanCreateVertexId ( ) check to make sure we can actually create vertices with automatic IDs
testCreateDuplicateReturn ( )
testCreateGraphCloneVertices ( )
testCreateInvalidId ( )
testCreateMixedGraph ( )
testCreateMultigraph ( )
testCreateVerticesAtomic ( )
testCreateVerticesContainsInvalid ( )
testCreateVerticesFail ( $number ) expect to fail for invalid number of vertices
testCreateVerticesFailProvider ( )
testCreateVerticesNone ( )
testCreateVerticesOkay ( )
testEdgesFailEdgeless ( )
testEdgesFailParallel ( )
testFailDuplicateVertex ( ) fail to create two vertices with same ID
testGetEdgesClones ( )
testGetVertexNonexistant ( )
testGraphClone ( )
testGraphCloneEdgeless ( )
testGraphCloneEmpty ( )
testHasVertex ( )
testInvalidVertexClone ( ) test to make sure vertex can not be cloned into same graph (due to duplicate id)
testRemoveEdge ( )
testRemoveEdgeInvalid ( Fhaculty\Graph\Graph $graph )
testRemoveVertex ( )
testRemoveVertexInvalid ( )
testVertexClone ( )

Méthodes protégées

Méthode Description
createAttributeAware ( )

Method Details

createAttributeAware() protected méthode

protected createAttributeAware ( )

setup() public méthode

public setup ( )

testCanCreateVertex() public méthode

check to make sure we can actually create vertices with automatic IDs
public testCanCreateVertex ( )

testCanCreateVertexId() public méthode

check to make sure we can actually create vertices with automatic IDs

testCreateDuplicateReturn() public méthode

testCreateGraphCloneVertices() public méthode

testCreateInvalidId() public méthode

public testCreateInvalidId ( )

testCreateMixedGraph() public méthode

testCreateMultigraph() public méthode

testCreateVerticesAtomic() public méthode

testCreateVerticesContainsInvalid() public méthode

testCreateVerticesFail() public méthode

expect to fail for invalid number of vertices
public testCreateVerticesFail ( $number )

testCreateVerticesFailProvider() public static méthode

public static testCreateVerticesFailProvider ( )

testCreateVerticesNone() public méthode

testCreateVerticesOkay() public méthode

testEdgesFailEdgeless() public méthode

testEdgesFailParallel() public méthode

testFailDuplicateVertex() public méthode

fail to create two vertices with same ID

testGetEdgesClones() public méthode

public testGetEdgesClones ( )

testGetVertexNonexistant() public méthode

testGraphClone() public méthode

public testGraphClone ( )

testGraphCloneEdgeless() public méthode

testGraphCloneEmpty() public méthode

public testGraphCloneEmpty ( )

testHasVertex() public méthode

public testHasVertex ( )

testInvalidVertexClone() public méthode

test to make sure vertex can not be cloned into same graph (due to duplicate id)

testRemoveEdge() public méthode

public testRemoveEdge ( )

testRemoveEdgeInvalid() public méthode

public testRemoveEdgeInvalid ( Fhaculty\Graph\Graph $graph )
$graph Fhaculty\Graph\Graph

testRemoveVertex() public méthode

public testRemoveVertex ( )

testRemoveVertexInvalid() public méthode

testVertexClone() public méthode

public testVertexClone ( )