diff options
Diffstat (limited to 'src/shorturls/baseconv.py')
| -rw-r--r-- | src/shorturls/baseconv.py | 9 | 
1 files changed, 1 insertions, 8 deletions
| diff --git a/src/shorturls/baseconv.py b/src/shorturls/baseconv.py index 1b7efbd..ba2f759 100644 --- a/src/shorturls/baseconv.py +++ b/src/shorturls/baseconv.py @@ -55,11 +55,4 @@ bin = BaseConverter('01')  hexconv = BaseConverter('0123456789ABCDEF')  base62 = BaseConverter(      'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz' -) - -if __name__ == '__main__': -    nums = [-10 ** 10, 10 ** 10] + range(-100, 100) -    for c in [bin, hexconv, base62]: -        for i in nums: -            assert i == c.to_decimal(c.from_decimal(i)), '%s failed' % i - +)
\ No newline at end of file | 
