<s> from pydsa . counting_sort import counting_sort <EOL> from random import randint <EOL> def test_counting_sort ( ) : <EOL> a = b = [ randint ( <NUM_LIT:1> , <NUM_LIT:100> ) for i in range ( <NUM_LIT:100> ) ] <EOL> assert counting_sort ( a , max ( a ) ) == sorted ( b ) </s>
