basic forge setup and refactored for some warning
This commit is contained in:
@@ -15,8 +15,8 @@ public class PlayerControllerUnitTest
|
||||
public void SetupTest()
|
||||
{
|
||||
_player = new PlayerController();
|
||||
_player._targetSpeed = 7.0f;
|
||||
_player._gravity = 9.8f;
|
||||
_player.TargetSpeed = 7.0f;
|
||||
_player.Gravity = 9.8f;
|
||||
|
||||
var rHealth = new RHealth(100.0f);
|
||||
_player.RHealth = rHealth;
|
||||
@@ -113,9 +113,9 @@ public class PlayerControllerUnitTest
|
||||
[TestCase]
|
||||
public void TestDashCooldownTimeout()
|
||||
{
|
||||
_player._canDash = false;
|
||||
_player.CanDash = false;
|
||||
_player.DashCooldownTimeout();
|
||||
AssertBool(_player._canDash).IsTrue();
|
||||
AssertBool(_player.CanDash).IsTrue();
|
||||
}
|
||||
|
||||
[TestCase]
|
||||
|
||||
Reference in New Issue
Block a user