code: def test_vals2colors_list():
      assert np.allclose(
          helpers.vals2colors([0, 0.5, 1]),
          [
              (
                  0.9629680891964629,
                  0.9860207612456747,
                  0.9360092272202999,
              ),
              (
                  0.7944636678200693,
                  0.9194156093810073,
                  0.7700884275278739,
              ),
              (
                  0.4740484429065744,
                  0.7953863898500577,
                  0.7713956170703576,
              ),
          ],
      )
  
file_path: hypertools/tests/test_helpers.py
imports: import numpy
  import hypertools._shared.helpers
label_desc: Use image node_id 4 for calling a global function with example usage: test_vals2colors_list() without return types