def METHOD_NAME(env):
    #skipOnCrdtEnv(env)
    for i in range(10):
        env.expect('ft.sugadd', 'sug', 'test%d' % i, i + 1).equal(i + 1)
        #  for j in range(i + 1):
        #env.expect('ft.sugadd', 'sug', 'test10', '1', 'INCR').equal(i + 1)
    expected_res = ['test9', '7.0710678100585938', 'test8', '6.3639612197875977', 'test7', '5.6568541526794434',
                  'test6', '4.9497475624084473', 'test5', '4.242640495300293', 'test4', '3.5355339050292969',
                  'test3', '2.8284270763397217', 'test2', '2.1213202476501465', 'test1', '1.4142135381698608',
                  'test0', '0.70710676908493042']
    for i in range(1,11):
        res = env.cmd('FT.SUGGET', 'sug', 'test', 'MAX', i, 'WITHSCORES')
        compare_lists(env, res, expected_res[0:i*2], delta=0.0001)
    res = env.cmd('FT.SUGGET', 'sug', 'test', 'MAX', 10, 'WITHSCORES')
    compare_lists(env, res, expected_res, delta=0.0001)