public void SetGetLastDigit_SetAndGetLastDigitOfNumber_Int() { TextNumber newTextNumber = new TextNumber(); newTextNumber.SetNumber("15"); newTextNumber.SetLastDigit(); Assert.AreEqual(5, newTextNumber.GetLastDigit()); }