public static IEnumerable <object[]> LessThan_Should_CollectError_Data() { return(RulesHelper.GetSetsCompilation( NumberDataHelper.LessThan_Unsigned(_convert), NumberDataHelper.LessThan_Limits(ushort.MinValue, ushort.MaxValue, 1U) )); }
public static IEnumerable <object[]> Before_Should_CollectError_Data() { return(RulesHelper.GetSetsCompilation( NumberDataHelper.LessThan_Unsigned(_convert), NumberDataHelper.LessThan_Limits(DateTime.MinValue, DateTime.MaxValue, new DateTime(1)) )); }
public static IEnumerable <object[]> LessThan_Should_CollectError_Data() { return(RulesHelper.GetSetsCompilation( NumberDataHelper.LessThan_Signed(_convert), NumberDataHelper.LessThan_Unsigned(_convert), NumberDataHelper.LessThan_Limits(double.MinValue, double.MaxValue, 0), new[] { new object[] { 0.999999d, 1d, true } }, new[] { new object[] { 1.000001d, 1d, false } }, new[] { new object[] { 0.999999d, 0.999999d, false } }, new[] { new object[] { 1d, 1.000001d, true } }, new[] { new object[] { 1.000001d, 1.000001d, false } } )); }