C# Class ConsoleTests.MainClass

Exibir arquivo Open project: jbakic/Shielded

Public Methods

Method Description
BetShopPoolTest ( ) : void
BetShopTest ( ) : void

Creates a BetShop, and tries to buy a large number of random tickets. Afterwards it checks that the rule limiting same ticket winnings is not violated.

DictionaryPoolTest ( ) : void
Main ( string args ) : void
MultiFieldOps ( ) : void
SimpleCommuteTest ( ) : void
SimpleProxyOps ( ) : void
SimpleTreeTest ( ) : void
SkewTest ( ) : void
TimeTests ( ) : void
TreeTest ( ) : void
mtTest ( string name, int taskCount, Task>.Func task ) : long

Private Methods

Method Description
ControlledRace ( ) : void
DictionaryTest ( ) : void
OneTransaction ( ) : void
ParallelAddWithSaving ( ) : void
SimpleOps ( ) : void
Timed ( string name, int numRepeats, System.Action act ) : long

Method Details

BetShopPoolTest() public static method

public static BetShopPoolTest ( ) : void
return void

BetShopTest() public static method

Creates a BetShop, and tries to buy a large number of random tickets. Afterwards it checks that the rule limiting same ticket winnings is not violated.
public static BetShopTest ( ) : void
return void

DictionaryPoolTest() public static method

public static DictionaryPoolTest ( ) : void
return void

Main() public static method

public static Main ( string args ) : void
args string
return void

MultiFieldOps() public static method

public static MultiFieldOps ( ) : void
return void

SimpleCommuteTest() public static method

public static SimpleCommuteTest ( ) : void
return void

SimpleProxyOps() public static method

public static SimpleProxyOps ( ) : void
return void

SimpleTreeTest() public static method

public static SimpleTreeTest ( ) : void
return void

SkewTest() public static method

public static SkewTest ( ) : void
return void

TimeTests() public static method

public static TimeTests ( ) : void
return void

TreeTest() public static method

public static TreeTest ( ) : void
return void

mtTest() public static method

public static mtTest ( string name, int taskCount, Task>.Func task ) : long
name string
taskCount int
task Task>.Func
return long