Пример #1
0
 public static IEnumerable <object[]> ApplyLaws() =>
 new ApplyLawsTests <TryF, string, int, long>(TryK.Apply(), TryK.EqK(new ExceptionEq())).Wrap();
Пример #2
0
 public static IEnumerable <object[]> InvariantLaws() =>
 new InvariantLawsTests <TryF, string, int, long>(TryK.Invariant(), TryK.EqK(new ExceptionEq())).Wrap();
Пример #3
0
 public static IEnumerable <object[]> FunctorLaws() =>
 new FunctorLawsTests <TryF, string, int, long>(TryK.Functor(), TryK.EqK(new ExceptionEq())).Wrap();
Пример #4
0
 public static IEnumerable <object[]> EqLaws() =>
 new EqLawsTests <Try <string> >(TryK.Eq(StringK.Eq(), new ExceptionEq())).Wrap();