code: def test_result():
      res = crosstab([0, 1], [1, 2])
      assert_equal((res.elements, res.count), res)
  
file_path: scipy/scipy/stats/tests/test_crosstab.py
imports: import pytest
  import numpy
  from numpy.testing import assert_array_equal, assert_equal
  from scipy.stats.contingency import crosstab
label_desc: Use image node_id 10 for calling a global function with example usage: test_result() without return types