code: def test_acceptance_aok_2D(val, validator_aok):
      coerce_val = validator_aok.validate_coerce(val)
  
      if isinstance(val, np.ndarray):
          assert np.array_equal(coerce_val, val)
      elif isinstance(val, list):
          assert validator_aok.present(coerce_val) == tuple(val)
      else:
          assert coerce_val == val
  
imports: import pytest
  from _plotly_utils.basevalidators import ColorValidator
  import numpy
label_desc: Use image node_id 12 for calling a global function with example usage: test_acceptance_aok_2D(val, validator_aok) without return types