Exemplo n.º 1
0
 public void WithHealingPlayerWillStandUp()
 {
     // Fixture setup
     context.MockAPI.Player.Status = Status.Healing;
     // Exercise system
     sut.Enter(context);
     // Verify outcome
     Assert.Equal(Status.Standing, context.MockAPI.Player.Status);
     // Teardown
 }
Exemplo n.º 2
0
            public void WillStopPlayerFromMoving()
            {
                // Fixture setup
                MockEliteAPI.Navigator.IsRunning = true;
                BattleState sut = CreateSut();

                // Exercise system
                sut.Enter();
                // Verify outcome
                Assert.False(MockEliteAPI.Navigator.IsRunning);
                // Teardown
            }
Exemplo n.º 3
0
            public void WithHealingPlayerWillStandUp()
            {
                // Fixture setup
                BattleState sut = CreateSut();

                MockEliteAPI.Player.Status = Status.Healing;
                // Exercise system
                sut.Enter();
                // Verify outcome
                Assert.Equal(Status.Standing, MockEliteAPI.Player.Status);
                // Teardown
            }