def test_multiset_partitions_taocp():
 multiplicities = [2, 2]
 compare_multiset_w_baseline(multiplicities)
 multiplicities = [4, 3, 1]
 compare_multiset_w_baseline(multiplicities)

def test_multiset_partitions_taocp ( ) : multiplicities = [ 2 , 2 ] compare_multiset_w_baseline ( multiplicities ) multiplicities = [ 4 , 3 , 1 ] compare_multiset_w_baseline ( multiplicities )
compares the output of multiset_partitions_taocp with a baseline implementation .