Пример #1
0
 public static IMore <T> Bipedal <T>(
     this IBe <T> be
     ) where T : Animal
 {
     be.Compose(actual =>
     {
         Expect(actual.Legs).To.Equal(2);
     });
     return(be.More());
 }
Пример #2
0
 public static void Empty(
     this IBe <DataRowCollection> be
     )
 {
     be.Compose(actual =>
     {
         Expect(actual.Count)
         .To.Equal(
             0,
             $"Expected no rows, but found {actual.Count}"
             );
     });
 }