public void GassWSFrostAreEqual() { string constResult = "Превращаем водяной пар в жидкость"; IWaterState waterState = new GassWS(); Water water = new Water(waterState); string result; result = waterState.Frost(water); Assert.AreEqual(constResult, result); }
public void GassWSHeatAreEqual() { string constResult = "Повышаем температуру водяного пара"; IWaterState waterState = new GassWS(); Water water = new Water(waterState); string result; result = waterState.Heat(water); Assert.AreEqual(constResult, result); }