def test_bool_to_int_one(self): from sqlalchemy import processors eq_(processors.boolean_to_int(1), 1)
def test_bool_to_int_negative_int(self): from sqlalchemy import processors eq_(processors.boolean_to_int(-10), 1)
def test_bool_to_int_zero(self): from sqlalchemy import processors eq_(processors.boolean_to_int(0), 0)
def test_bool_to_int_false(self): from sqlalchemy import processors eq_(processors.boolean_to_int(False), 0)
def test_bool_to_int_positive_int(self): from sqlalchemy import processors eq_(processors.boolean_to_int(5), 1)