Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            TractorTest test = new TractorTest();

            test.TestShouldMoveForward();
            //test.TestShouldThrowExceptionIfFallsOffPlateau();
            //test.TestShouldTurn();
            //test.TestShouldTurnAndMoveInTheRightDirection();
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            var tractorTest = new TractorTest();

            tractorTest.TestShouldMoveForward();
            tractorTest.TestShouldThrowExceptionIfFallsOffPlateau();
            tractorTest.TestShouldTurn();
            tractorTest.TestShouldTurnAndMoveInTheRightDirection();

            var stoneTest = new StoneTest();

            stoneTest.TestShouldNotChangePosition();

            var windTest = new WindTest();

            windTest.TestShouldNotChangeOrintationIfMoving();
            windTest.TestShouldTurn();

            var compositTest = new CompositTest();

            compositTest.TestShouldTurnAndMoveInTheRightDirection();
        }