public SwitchingTests()
        {
            successValue = new();
            failValue    = new();

            success = Result.Success <RedDragon, PinkLily>(successValue);
            fail    = Result.Error <RedDragon, PinkLily>(failValue);

            spy = new();
        }
Example #2
0
 public MappingTests()
 {
     errorValue = new();
     result     = Result.Error(errorValue);
     spy        = new();
 }