public void Test_03_Checks_Materials_Equals_30K() { #region Arrange piece = new RobotPiece(EPieceType.Head, EMetalType.ChromeDigizoid, EMaterial.Metal, materials); #endregion #region Act int amountMaterials = piece.AmountOfMaterials(); #endregion #region Assert Assert.AreEqual(30000, amountMaterials); #endregion }
public void Test_02_Checks_Materials_Equals_Zero() { #region Arrange piece = new RobotPiece(); #endregion #region Act int amountMaterials = piece.AmountOfMaterials(); #endregion #region Assert Assert.AreEqual(0, amountMaterials); #endregion }