public void Validate_AmountToDecimal()
        {
            string            input             = "100.536";
            CurrencyConverter currencyConverter = new CurrencyConverter();

            decimal result = currencyConverter.ConvertAmountToDecimal(input);

            Assert.AreEqual(Convert.ToDecimal(100.53), result);
        }
        public void Validate_AmountToDecimal_Zero()
        {
            string            input             = "0000";
            CurrencyConverter currencyConverter = new CurrencyConverter();

            decimal result = currencyConverter.ConvertAmountToDecimal(input);

            Assert.AreEqual(0, result);
        }
        public void Validate_AmountToDecimal_NonNumeric()
        {
            string            input             = "asdasd";
            CurrencyConverter currencyConverter = new CurrencyConverter();

            decimal result = currencyConverter.ConvertAmountToDecimal(input);

            Assert.AreEqual(0, result);
        }
        public void Validate_AmountToDecimal_CommaSeparated()
        {
            string            input             = "100,536.64503";
            CurrencyConverter currencyConverter = new CurrencyConverter();

            decimal result = currencyConverter.ConvertAmountToDecimal(input);

            Assert.AreEqual(Convert.ToDecimal(100536.64), result);
        }