public void GetFullMonthResult() { var val = BC.ReturnAmount(ConvertDateTime("20180601"), ConvertDateTime("20180630")); Assert.AreEqual(300, val); }
public void GetFullMonthResult() { CultureInfo prov = CultureInfo.InvariantCulture;; Assert.AreEqual(300, BC.ReturnAmount(DateTime.ParseExact("20180601", "yyyyMMdd", prov), DateTime.ParseExact("20180630", "yyyyMMdd", prov))); }