Exemple #1
0
 public static IEnumerable <object[]> FunctorLaws() =>
 new FunctorLawsTests <TryF, string, int, long>(TryK.Functor(), TryK.EqK(new ExceptionEq())).Wrap();
Exemple #2
0
 public static IEnumerable <object[]> ApplyLaws() =>
 new ApplyLawsTests <TryF, string, int, long>(TryK.Apply(), TryK.EqK(new ExceptionEq())).Wrap();
Exemple #3
0
 public static IEnumerable <object[]> InvariantLaws() =>
 new InvariantLawsTests <TryF, string, int, long>(TryK.Invariant(), TryK.EqK(new ExceptionEq())).Wrap();