basic forge setup and refactored for some warning
This commit is contained in:
@@ -18,17 +18,17 @@ public class DashSystemUnitTest
|
||||
_dashSystem.DashCast3D = new ShapeCast3D();
|
||||
_dashSystem.AddChild(_dashSystem.DashCast3D);
|
||||
|
||||
_dashSystem._dashCastDrop = new ShapeCast3D();
|
||||
_dashSystem.AddChild(_dashSystem._dashCastDrop);
|
||||
_dashSystem.DashCastDrop = new ShapeCast3D();
|
||||
_dashSystem.AddChild(_dashSystem.DashCastDrop);
|
||||
|
||||
_dashSystem._dashTarget = new MeshInstance3D();
|
||||
_dashSystem.AddChild(_dashSystem._dashTarget);
|
||||
_dashSystem.DashTarget = new MeshInstance3D();
|
||||
_dashSystem.AddChild(_dashSystem.DashTarget);
|
||||
|
||||
_dashSystem._dashDropIndicator = new MeshInstance3D();
|
||||
_dashSystem.AddChild(_dashSystem._dashDropIndicator);
|
||||
_dashSystem.DashDropIndicator = new MeshInstance3D();
|
||||
_dashSystem.AddChild(_dashSystem.DashDropIndicator);
|
||||
|
||||
_dashSystem._dashDropLocationIndicator = new MeshInstance3D();
|
||||
_dashSystem.AddChild(_dashSystem._dashDropLocationIndicator);
|
||||
_dashSystem.DashDropLocationIndicator = new MeshInstance3D();
|
||||
_dashSystem.AddChild(_dashSystem.DashDropLocationIndicator);
|
||||
}
|
||||
|
||||
[AfterTest]
|
||||
@@ -41,15 +41,15 @@ public class DashSystemUnitTest
|
||||
public void TestStopPreparingDash()
|
||||
{
|
||||
_dashSystem.CanDashThroughTarget = true;
|
||||
_dashSystem._dashTarget.Visible = true;
|
||||
_dashSystem._dashDropIndicator.Visible = true;
|
||||
_dashSystem._dashDropLocationIndicator.Visible = true;
|
||||
_dashSystem.DashTarget.Visible = true;
|
||||
_dashSystem.DashDropIndicator.Visible = true;
|
||||
_dashSystem.DashDropLocationIndicator.Visible = true;
|
||||
|
||||
_dashSystem.StopPreparingDash();
|
||||
|
||||
AssertBool(_dashSystem.CanDashThroughTarget).IsFalse();
|
||||
AssertBool(_dashSystem._dashTarget.Visible).IsFalse();
|
||||
AssertBool(_dashSystem._dashDropIndicator.Visible).IsFalse();
|
||||
AssertBool(_dashSystem._dashDropLocationIndicator.Visible).IsFalse();
|
||||
AssertBool(_dashSystem.DashTarget.Visible).IsFalse();
|
||||
AssertBool(_dashSystem.DashDropIndicator.Visible).IsFalse();
|
||||
AssertBool(_dashSystem.DashDropLocationIndicator.Visible).IsFalse();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user