static void Main(string[] args) { TractorTest tractorTest = new TractorTest(); tractorTest.TestShouldMoveForward(); tractorTest.TestShouldThrowExceptionIfFallsOffPlateau(); tractorTest.TestShouldTurn(); tractorTest.TestShouldTurnAndMoveInTheRightDirection(); TankTest tankTest = new TankTest(); tankTest.TestShouldMoveForward(); tankTest.TestShouldThrowExceptionIfFallsOffPlateau(); tankTest.TestShouldTurn(); tankTest.TestShouldTurnAndMoveInTheRightDirection(); tankTest.TestShouldMoveForwardTurnShot(); GuardTowerTest guardTowerTest = new GuardTowerTest(); guardTowerTest.TestShouldMoveForward(); guardTowerTest.TestShouldTurn(); guardTowerTest.TestShouldMoveTurnShot(); UnitModelTest unitModelTest = new UnitModelTest(); unitModelTest.TestShouldMoveForward(); unitModelTest.TestShouldMoveTurn(); Console.ReadLine(); }
static void Main(string[] args) { TractorTest test = new TractorTest(); test.TestShouldMoveForward(); test.TestShouldThrowExceptionIfFallsOffPlateau(); test.TestShouldTurn(); test.TestShouldTurnAndMoveInTheRightDirection(); }