Exemple #1
0
 public static IEnumerable <object[]> GreaterThan_Should_CollectError_Data()
 {
     return(RulesHelper.GetSetsCompilation(
                NumberDataHelper.GreaterThan_Unsigned(_convert),
                NumberDataHelper.GreaterThan_Limits(ushort.MinValue, ushort.MaxValue, 1U)
                ));
 }
Exemple #2
0
 public static IEnumerable <object[]> After_Should_CollectError_Data()
 {
     return(RulesHelper.GetSetsCompilation(
                NumberDataHelper.GreaterThan_Unsigned(_convert),
                NumberDataHelper.GreaterThan_Limits(DateTime.MinValue, DateTime.MaxValue, new DateTime(1))
                ));
 }
Exemple #3
0
 public static IEnumerable <object[]> GreaterThan_Should_CollectError_Data()
 {
     return(RulesHelper.GetSetsCompilation(
                NumberDataHelper.GreaterThan_Signed(_convert),
                NumberDataHelper.GreaterThan_Unsigned(_convert),
                NumberDataHelper.GreaterThan_Limits(double.MinValue, double.MaxValue, 0),
                new[] { new object[] { 0.999999d, 1d, false } },
                new[] { new object[] { 1.000001d, 1d, true } },
                new[] { new object[] { 0.999999d, 0.999999d, false } },
                new[] { new object[] { 1d, 1.000001d, false } },
                new[] { new object[] { 1.000001d, 1.000001d, false } }
                ));
 }