C# Class ConsoleTests.MainClass

Afficher le fichier Open project: jbakic/Shielded

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static BetShopPoolTest ( ) : void
Résultat void

BetShopTest() public static méthode

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
Résultat void

DictionaryPoolTest() public static méthode

public static DictionaryPoolTest ( ) : void
Résultat void

Main() public static méthode

public static Main ( string args ) : void
args string
Résultat void

MultiFieldOps() public static méthode

public static MultiFieldOps ( ) : void
Résultat void

SimpleCommuteTest() public static méthode

public static SimpleCommuteTest ( ) : void
Résultat void

SimpleProxyOps() public static méthode

public static SimpleProxyOps ( ) : void
Résultat void

SimpleTreeTest() public static méthode

public static SimpleTreeTest ( ) : void
Résultat void

SkewTest() public static méthode

public static SkewTest ( ) : void
Résultat void

TimeTests() public static méthode

public static TimeTests ( ) : void
Résultat void

TreeTest() public static méthode

public static TreeTest ( ) : void
Résultat void

mtTest() public static méthode

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