def test_two(self): a = predicats.oftype(int) b = predicats.pred(a) assert b('10') is False
def test_three(self): a = predicats.oftype(str) assert a('10') is True
def test_one(self): a = predicats.oftype(int) b = predicats.pred(a) assert b(0) is True
def test_two(self): a = predicats.oftype(str) assert a(10) is False
def test_one(self): a = predicats.oftype(int) assert a(0) is True
def test_one(self): a = predicats.oftype(int) assert ~a(10) is False
def test_two(self): a = predicats.oftype(int) b = predicats.gt(0) c = a | b assert c(-10) is True
def test_one(self): a = predicats.oftype(int) b = predicats.gt(0) c = a & b assert c(10) is True