Exemplo n.º 1
0
 public static IEnumerable <object[]> NotEqualTo_Should_CollectError_Data()
 {
     return(RulesHelper.GetSetsCompilation(
                NumberDataHelper.NotEqualTo_Unsigned(_convert),
                NumberDataHelper.NotEqualTo_Signed(_convert),
                NumberDataHelper.NotEqualTo_Limits(decimal.MinValue, decimal.MaxValue, 1)
                ));
 }
Exemplo n.º 2
0
 public static IEnumerable <object[]> NotCloseTo_MemberData()
 {
     return(RulesHelper.GetSetsCompilation(
                NumberDataHelper.NotEqualTo_Signed(_convert),
                NumberDataHelper.NotEqualTo_Unsigned(_convert),
                NumberDataHelper.NotEqualTo_Limits(double.MinValue, double.MaxValue, 0),
                new[] { new object[] { 0.999999d, 0d, true } },
                new[] { new object[] { 1.000001d, 0d, true } },
                new[] { new object[] { 1.123456d, 1.123456d, false } }
                ));
 }