def test_single_integer(self): result = _sqlite_max(3) self.assertEqual(result, 3)
def test_single_string(self): result = _sqlite_max('abc') self.assertEqual(result, 'abc')
def test_list_iter(self): iterable = Result([1, 2, 3, 4], list) result = _sqlite_max(iterable) self.assertEqual(result, 4)