code: def test_incremental_min_max():
      """unit tests"""
  
      # scalar case
      stats = CumulativeMovingMinMax(initial_min=5, initial_max=0)
      for i in range(5):
          stats.update(i)
          assert stats.min == 0
          assert stats.max == i
  
imports: import numpy
  from maze.core.utils.stats_utils import CumulativeMovingMeanStd, CumulativeMovingMinMax
label_desc: Use image node_id 2 for calling a global function with example usage: test_incremental_min_max() without return types