code: def test_resize_edge_cases():
      for start, target in [
          ((128, 128), (64, 64)),
          ((127, 128), (64, 64)),
          ((125, 128), (64, 64)),
          ((120, 128), (64, 64)),
          ((117, 128), (64, 64)),
          ((115, 128), (61, 64)),
          ((116, 129), (59, 65)),
      ]:
          assert mh.resize_to(np.zeros(start), target).shape == target
      start = np.zeros((65, 31))
      for t0 in range(7, 29):
          assert mh.resize_to(start, (t0, 17)).shape == (t0, 17)
  
imports: import mahotas
  from mahotas import imresize
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: test_resize_edge_cases() without return types