Example #1
0
        public void IntoToWords_NotIntAsString_ThrowsArgumentException()
        {
            var argument = "Some string";

            ToWordsConverter.IntToWords(argument);
        }
Example #2
0
        public void IntToWords_IntAsString_ReturnsIntAsWordString(String number, String expectedWords)
        {
            var actualWords = ToWordsConverter.IntToWords(number);

            Assert.AreEqual(expectedWords, actualWords, false);
        }