Example #1
0
 public static IEnumerable <object[]> NonZero_Should_CollectError_Data()
 {
     return(RulesHelper.GetTestDataCombined(
                NumbersTestData.NonZero_Unsigned(Convert),
                NumbersTestData.NonZero_Unsigned_Limits(TimeSpan.MaxValue),
                NumbersTestData.NonZero_Signed(Convert),
                NumbersTestData.NonZero_Signed_Limits(TimeSpan.MinValue, TimeSpan.MaxValue)));
 }
Example #2
0
 public static IEnumerable <object[]> NonNegative_Should_CollectError_Data()
 {
     return(RulesHelper.GetTestDataCombined(
                NumbersTestData.NonNegative(Convert)));
 }
Example #3
0
 public static IEnumerable <object[]> Positive_Should_CollectError_Data()
 {
     return(RulesHelper.GetTestDataCombined(
                NumbersTestData.Positive_Unsigned(Convert),
                NumbersTestData.Positive_Signed(Convert)));
 }
Example #4
0
 public static IEnumerable <object[]> BetweenOrEqualTo_Should_ThrowException_When_MinLargerThanMax_Data()
 {
     return(RulesHelper.GetTestDataCombined(
                NumbersTestData.Between_InvalidRange(Convert, TimeSpan.MinValue, TimeSpan.MaxValue)));
 }