Because encode function is only tested by user's own decode function this can be done, hence the tests are a failure.
Returning Invalid is a poor design choice since adfly encoded string of Invalid will also be decoded as Invalid. None should be returned in this case.
Invalid
None
Needs random tests.
Loading collection data...
Because encode function is only tested by user's own decode function this can be done, hence the tests are a failure.
Returning
Invalid
is a poor design choice since adfly encoded string ofInvalid
will also be decoded asInvalid
.None
should be returned in this case.Needs random tests.