def test_create_storage():
    storage = {}
    create_storage(storage)
    assert len(storage) == 31, 'should be "30"'
    for i in range(31):
        assert storage[i] == [], 'should be empty []'
        ui_menu()
    if (cmd[0] == "replace"):
        replace(storage, cmd)
        ui_menu()
    if (cmd[0] == "default"):
        create_df_storage(storage)
        ui_menu()
    if (cmd[0] == "list"):
        if (len(cmd) == 1):
            ui_list(storage)
        elif (len(cmd) == 2):
            ui_list_type(storage, cmd[1])
        elif (cmd[1] == "balance"):
            ui_list_balance(storage, int(cmd[2]))
        else:
            ui_list_value(storage, cmd[1], int(cmd[2]))
        ui_menu()
    if (cmd[0] == "exit"):
        exit()


################################################################################
#********************************* main_function *********************************
################################################################################

if __name__ == "__main__":
    storage = {}
    create_storage(storage)
    all_tests()
    ui_menu()