예제 #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]));
            }
        }