public void Test_If_Calculator_With_Starting_Value_Minus_2_Results_In_Minus_90() { //Arrange NumberCalculator numberCalculator = new NumberCalculator(); //Assert Assert.AreEqual("-90", numberCalculator.CalculateMultipliedDreamValue(-2)); }
public void Test_If_Calculator_With_Starting_Value_0_Results_In_Insomnia() { //Arrange NumberCalculator numberCalculator = new NumberCalculator(); //Assert Assert.AreEqual("Insomnia", numberCalculator.CalculateMultipliedDreamValue(0)); }
public void Dispose() { nc = null; }
public void Add_For1And2_Returns3() { NumberCalculator numberCalculator = new NumberCalculator(); Assert.IsTrue(numberCalculator.Add(1, 2) == 3); }
public void Init() { nc = new NumberCalculator(100, 100); }