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