示例#1
0
 public void ThenTheFollowingVouchersShouldBeGenerated(Table table)
 {
     var voucherSet = new VoucherSet(_order);
     foreach (var tableRow in table.Rows)
     {
         Assert.AreEqual(voucherSet.VouchersOf(int.Parse(tableRow[0])).Count, int.Parse(tableRow[1]));
     }
 }
示例#2
0
        public void ThenTheFollowingVouchersShouldBeGenerated(Table table)
        {
            var voucherSet = new VoucherSet(_order);

            foreach (var tableRow in table.Rows)
            {
                Assert.AreEqual(voucherSet.VouchersOf(int.Parse(tableRow[0])).Count, int.Parse(tableRow[1]));
            }
        }