public void RemoveLastDigit_RemoveLastDigitOfNumber_Int()
        {
            TextNumber newTextNumber = new TextNumber();

            newTextNumber.SetNumber("15");
            Assert.AreEqual(1, newTextNumber.RemoveLastDigit());
        }
        public void SetGetNumber_SetsAndGetsNumber_Int()
        {
            TextNumber newTextNumber = new TextNumber();

            newTextNumber.SetNumber("1");
            Assert.AreEqual(1, newTextNumber.GetNumber());
        }
        public void SetGetLastDigit_SetAndGetLastDigitOfNumber_Int()
        {
            TextNumber newTextNumber = new TextNumber();

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

            newTextNumber.SetNumber("15");
            newTextNumber.SetNumberText();
            string newText = newTextNumber.GetNumberText();

            Assert.AreEqual("five", newText);
        }
        public void AddTextToList_AddNumberTextToList_List()
        {
            TextNumber newTextNumber = new TextNumber();

            newTextNumber.SetNumber("15");
            newTextNumber.AddTextToList();
            List <string> result  = newTextNumber.GetTextList();
            List <string> newList = new List <string>()
            {
                "five"
            };

            CollectionAssert.AreEqual(newList, result);
        }