Exemple #1
0
 public static void Count <T>(this IAssertionTool assertTool, Expression <Func <int> > expected, Expression <Func <IEnumerable <T> > > collection, string msg)
 {
     assertTool.Count(expected, collection, "{0}", msg);
 }
Exemple #2
0
 public static void Count <T>(this IAssertionTool assertTool, Expression <Func <int> > expected, Expression <Func <IEnumerable <T> > > collection)
 {
     assertTool.Count(expected, collection, null, null);
 }
Exemple #3
0
 public static void Count <T>(this IAssertionTool assertTool, int expected, IEnumerable <T> collection, string msg)
 {
     assertTool.Count(() => expected, () => collection, "{0}", msg);
 }
Exemple #4
0
 public static void Count <T>(this IAssertionTool assertTool, int expected, Expression <Func <IEnumerable <T> > > collection, string msg, params object[] fmt)
 {
     assertTool.Count(() => expected, collection, msg, fmt);
 }
Exemple #5
0
 public static void Count <T>(this IAssertionTool assertTool, int expected, IEnumerable <T> collection)
 {
     assertTool.Count(() => expected, () => collection, null, null);
 }