Exemple #1
0
        public void GetFullMonthResult()
        {
            var val = BC.ReturnAmount(ConvertDateTime("20180601"),
                                      ConvertDateTime("20180630"));

            Assert.AreEqual(300, val);
        }
Exemple #2
0
        public void GetFullMonthResult()
        {
            CultureInfo prov = CultureInfo.InvariantCulture;;

            Assert.AreEqual(300, BC.ReturnAmount(DateTime.ParseExact("20180601", "yyyyMMdd", prov),
                                                 DateTime.ParseExact("20180630", "yyyyMMdd", prov)));
        }