Example #1
0
 def _():
     assert bf.mode([1, 2, 3, 4, 5, 1]) == 1
Example #2
0
 def _():
     assert bf.mode([1, 2, 3, 4, 5, 6]) == None
Example #3
0
 def _():
     assert bf.mode([1, 1]) == 1
Example #4
0
 def _():
     assert bf.mode([1, 2]) == None
Example #5
0
 def _():
     assert bf.mode([]) == None