for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
class T:
def __init__(self, anything):
pass
def __lt__(self, otherthing):
return True
def __gt__(self, otherthing):
def __ge__(self, otherthing):
def __le__(self, otherthing):
def __eq__(self, otherthing):
def __ne__(self, otherthing):
def checkio(anything):
"""Try to return anything else :)."""
return T(anything)
if __name__ == '__main__': # pragma: no cover
import re
import math
assert checkio({}) != [], 'You'
assert checkio('Hello') < 'World', 'will'
assert checkio(80) > 81, 'never'
assert checkio(re) >= re, 'make'
assert checkio(re) <= math, 'this'
assert checkio(5) == ord, ':)'
print('NO WAY :(')