code: def check_results(objs, values):
      obj1, obj2, obj3 = objs
      val1, val2, val3 = values
  
      np.testing.assert_allclose(val1, obj1.result(), atol=1e-5)
      np.testing.assert_allclose(val2, obj2.result(), atol=1e-5)
      np.testing.assert_allclose(val3, obj3.result(), atol=1e-5)
  
imports: import pytest
  import numpy
  import tensorflow
  from tensorflow_addons.metrics import CohenKappa
  from tensorflow_addons.testing.serialization import check_metric_serialization
label_desc: Use image node_id 5 for calling a global function with example usage: check_results(objs, values) without return types