code: def test_asc_merge():
      """Test ascending merge"""
      hroi = make_hroi()
      s1 = hroi.get_size(0) + hroi.get_size(1)
      total_size = np.sum([hroi.get_size(id) for id in hroi.get_id()])
      assert hroi.get_size(0, ignore_children=False) == total_size
      hroi.merge_ascending([1])
      assert hroi.get_size(0) == s1
  
imports: import numpy
  from numpy.testing import assert_array_equal
  from ..discrete_domain import domain_from_binary_array
  from ..hroi import HROI_as_discrete_domain_blobs, make_hroi_from_subdomain
  from ..mroi import subdomain_from_array
label_desc: Use image node_id 6 for calling a global function with example usage: test_asc_merge() without return types