Example #1
0
        public void TestMethodUserDefinedFunctions()
        {
            SqlDouble originalAmount = 100.0;
            SqlDouble ExpectedAmount = 100.0 * 1.010;
            SqlDouble finalAmount    = UserDefinedFunctions.addGsTTax(originalAmount);

            Assert.AreEqual(ExpectedAmount, finalAmount);
        }