Пример #1
0
 def _():
     assert bf.determine_mode([1, 2.0, '3']) == 'mixed'
Пример #2
0
 def _():
     assert bf.determine_mode(['1', '2', '3']) == 'str'
Пример #3
0
 def _():
     assert bf.determine_mode([1, 2, 3]) == 'int'
Пример #4
0
 def _():
     assert bf.determine_mode([1.0, 2.0, 3.0]) == 'float'
Пример #5
0
 def _():
     assert bf.determine_mode([]) is None