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