C# Class Algorithmix.UnitTest.Helpers

显示文件 Open project: Algorithmix/Papyrus

Public Methods

Method Description
BootstrapPrimitiveThree ( ) : List
BuildChecker ( string filepath ) : string>.Dictionary
BuildCluster ( List shreds ) : INode
GetNodeHeight ( INode root ) : int
InitializeShreds ( bool runOcr = false ) : List
PrintFlatTree ( INode root ) : void
PrintTree ( INode root ) : void
PrintTree ( Queue queue, int level, int maxLevel ) : void
PrintWhiteSpace ( int number ) : void

Method Details

BootstrapPrimitiveThree() public static method

public static BootstrapPrimitiveThree ( ) : List
return List

BuildChecker() public static method

public static BuildChecker ( string filepath ) : string>.Dictionary
filepath string
return string>.Dictionary

BuildCluster() public static method

public static BuildCluster ( List shreds ) : INode
shreds List
return INode

GetNodeHeight() public static method

public static GetNodeHeight ( INode root ) : int
root INode
return int

InitializeShreds() public static method

public static InitializeShreds ( bool runOcr = false ) : List
runOcr bool
return List

PrintFlatTree() public static method

public static PrintFlatTree ( INode root ) : void
root INode
return void

PrintTree() public static method

public static PrintTree ( INode root ) : void
root INode
return void

PrintTree() public static method

public static PrintTree ( Queue queue, int level, int maxLevel ) : void
queue Queue
level int
maxLevel int
return void

PrintWhiteSpace() public static method

public static PrintWhiteSpace ( int number ) : void
number int
return void