removend empower actions counter and references to previous tutorial
This commit is contained in:
@@ -94,22 +94,6 @@ public class PlayerControllerUnitTest
|
||||
AssertFloat(_player.CHealth.CurrentHealth).IsEqual(75.0f);
|
||||
}
|
||||
|
||||
[TestCase]
|
||||
public void TestEmpoweredActionsLeft()
|
||||
{
|
||||
var mockUi = new PlayerUi();
|
||||
var dashIcons = new TextureRect[3] { new TextureRect(), new TextureRect(), new TextureRect() };
|
||||
mockUi.DashIcons = dashIcons;
|
||||
|
||||
_player.PlayerUi = mockUi;
|
||||
|
||||
_player.EmpoweredActionsLeft = 2;
|
||||
AssertInt(_player.EmpoweredActionsLeft).IsEqual(2);
|
||||
AssertBool(dashIcons[0].Visible).IsTrue();
|
||||
AssertBool(dashIcons[1].Visible).IsTrue();
|
||||
AssertBool(dashIcons[2].Visible).IsFalse();
|
||||
}
|
||||
|
||||
[TestCase]
|
||||
public void TestDashCooldownTimeout()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user