Beispiel #1
0
 public static void AssertEquality <T>(this TableRow row, T record)
 {
     foreach (var header in FixtureMapping.Headers <T>())
     {
         var cell = GetCellByHeader(row, header);
         cell.AssertEquality(record, header);
     }
 }
Beispiel #2
0
 public static bool IsEqualTo <T>(this TableRow row, T recordBase)
 {
     foreach (var header in FixtureMapping.Headers <T>())
     {
         var cell = GetCellByHeader(row, header);
         if (!cell.IsEqual(recordBase, header))
         {
             return(false);
         }
     }
     return(true);
 }