code: def test_cmax_cmin_work(byte_arr):
      """ "Cmax and min values returns an arr with the range 0-255."""
  
      scale_arr = es.bytescale(byte_arr, cmin=10, cmax=240)
  
      assert scale_arr.min() == 0
      assert scale_arr.max() == 255
  
file_path: earthpy/earthpy/tests/test_bytescale.py
imports: import pytest
  import numpy
  import earthpy.spatial
label_desc: Use image node_id 9 for calling a global function with example usage: test_cmax_cmin_work(byte_arr) without return types