public void ConvertNumberMillions()
        {
            ConversionController controller = new ConversionController();
            decimal inputNumber             = 1234561.89M;
            string  expectedOutput          = "one million two hundred and thirty-four thousand five hundred and sixty-one dollars and eighty-nine cents";

            string result = controller.ConvertToWords(inputNumber);

            // Assert if the result is NULL
            Assert.IsNotNull(result);

            // Assert if the result is not equal to input value
            Assert.AreNotEqual(inputNumber, result);

            // Asset if the result matches the expected output
            Assert.AreEqual(expectedOutput, result);
        }
        public void ConvertNumberZero()
        {
            ConversionController controller = new ConversionController();
            decimal inputNumber             = 0.0M;
            string  expectedOutput          = "zero";

            string result = controller.ConvertToWords(inputNumber);

            // Assert if the result is NULL
            Assert.IsNotNull(result);

            // Assert if the result is not equal to input value
            Assert.AreNotEqual(inputNumber, result);

            // Asset if the result matches the expected output
            Assert.AreEqual(expectedOutput, result);
        }
        public void ConvertNumberHundreds()
        {
            ConversionController controller = new ConversionController();
            decimal inputNumber             = 123.45M;
            string  expectedOutput          = "one hundred and twenty-three dollars and forty-five cents";

            string result = controller.ConvertToWords(inputNumber);

            // Assert if the result is NULL
            Assert.IsNotNull(result);

            // Assert if the result is not equal to input value
            Assert.AreNotEqual(inputNumber, result);

            // Asset if the result matches the expected output
            Assert.AreEqual(expectedOutput, result);
        }