C# Class Smrf.NodeXL.UnitTests.EdgeTest

Inheritance: Object
Show file Open project: 2014-sed-team3/term-project

Protected Properties

Property Type Description
m_aoVertices IVertex[]
m_oGraph IGraph

Public Methods

Method Description
EdgeTest ( ) : System

Initializes a new instance of the EdgeTest class.

Protected Methods

Method Description
CreateEdge ( IVertex oVertex1, IVertex oVertex2, System.Boolean bIsDirected ) : IEdge
CreateGraph ( GraphDirectedness eDirectedness, Int32 iVertices ) : void
TestClone ( System.Boolean bCopyMetadataValues, System.Boolean bCopyTag, CloneOverload eCloneOverload ) : void
TestIsParallelTo ( GraphDirectedness eDirectedness, Int32 iEdge1Vertex1, Int32 iEdge1Vertex2, System.Boolean bEdge1IsDirected, Int32 iEdge2Vertex1, Int32 iEdge2Vertex2, System.Boolean bEdge2IsDirected, System.Boolean bExpectedEdge1IsParallelToEdge2 ) : void

Private Methods

Method Description
SetUp ( ) : void
TearDown ( ) : void
TestClone ( ) : void
TestClone2 ( ) : void
TestClone3 ( ) : void
TestClone4 ( ) : void
TestCloneBad2 ( ) : void
TestCloneBad3 ( ) : void
TestCloneBad4 ( ) : void
TestConstructor ( ) : void
TestGetAdjacentVertex ( ) : void
TestGetAdjacentVertexBad ( ) : void
TestIsDirected ( ) : void
TestIsDirected2 ( ) : void
TestIsParallelTo ( ) : void
TestIsSelfLoop ( ) : void
TestIsSelfLoop2 ( ) : void
TestName ( ) : void
TestName2 ( ) : void
TestName3 ( ) : void
TestParentGraph ( ) : void
TestToString ( ) : void
TestVertex1And2Vertex ( ) : void
TestVertices ( ) : void

Method Details

CreateEdge() protected method

protected CreateEdge ( IVertex oVertex1, IVertex oVertex2, System.Boolean bIsDirected ) : IEdge
oVertex1 IVertex
oVertex2 IVertex
bIsDirected System.Boolean
return IEdge

CreateGraph() protected method

protected CreateGraph ( GraphDirectedness eDirectedness, Int32 iVertices ) : void
eDirectedness GraphDirectedness
iVertices System.Int32
return void

EdgeTest() public method

Initializes a new instance of the EdgeTest class.
public EdgeTest ( ) : System
return System

TestClone() protected method

protected TestClone ( System.Boolean bCopyMetadataValues, System.Boolean bCopyTag, CloneOverload eCloneOverload ) : void
bCopyMetadataValues System.Boolean
bCopyTag System.Boolean
eCloneOverload CloneOverload
return void

TestIsParallelTo() protected method

protected TestIsParallelTo ( GraphDirectedness eDirectedness, Int32 iEdge1Vertex1, Int32 iEdge1Vertex2, System.Boolean bEdge1IsDirected, Int32 iEdge2Vertex1, Int32 iEdge2Vertex2, System.Boolean bEdge2IsDirected, System.Boolean bExpectedEdge1IsParallelToEdge2 ) : void
eDirectedness GraphDirectedness
iEdge1Vertex1 System.Int32
iEdge1Vertex2 System.Int32
bEdge1IsDirected System.Boolean
iEdge2Vertex1 System.Int32
iEdge2Vertex2 System.Int32
bEdge2IsDirected System.Boolean
bExpectedEdge1IsParallelToEdge2 System.Boolean
return void

Property Details

m_aoVertices protected property

protected IVertex[] m_aoVertices
return IVertex[]

m_oGraph protected property

protected IGraph m_oGraph
return IGraph