C# Class IntegrationTests.Test

Mostra file Open project: rotators/fosdk

Public Methods

Method Description
Assert ( string msg, bool cond ) : void
OnMap ( string msg, bool>.Func test ) : void
RunAllTests ( ) : void
SpawnContainer ( Map map, int x, int y, int count = 1 ) : Item
SpawnTestNpc ( Map map, int x, int y, Direction dir = Direction.NorthEast ) : Critter

Method Details

Assert() public static method

public static Assert ( string msg, bool cond ) : void
msg string
cond bool
return void

OnMap() public static method

public static OnMap ( string msg, bool>.Func test ) : void
msg string
test bool>.Func
return void

RunAllTests() public static method

public static RunAllTests ( ) : void
return void

SpawnContainer() public static method

public static SpawnContainer ( Map map, int x, int y, int count = 1 ) : Item
map FOnline.Map
x int
y int
count int
return Item

SpawnTestNpc() public static method

public static SpawnTestNpc ( Map map, int x, int y, Direction dir = Direction.NorthEast ) : Critter
map FOnline.Map
x int
y int
dir Direction
return FOnline.Critter