Beispiel #1
0
 def _():
     assert bf.highest_frequency([1, 5, 2, 3, 1, 4, 1, 5,
                                  5]) == ((1, 5), 3)
Beispiel #2
0
 def _():
     assert bf.highest_frequency([1, 1]) == ((1, ), 2)
Beispiel #3
0
 def _():
     assert bf.highest_frequency([1, 2]) == ((1, 2), 1)
Beispiel #4
0
 def _():
     assert bf.highest_frequency([]) is None