code: def test_hyper_to_pa_all():
      hg = cugraph.hypergraph(simple_df, ["id", "a1", "🙈"])
      nodes_arr = hg["graph"].nodes().to_arrow()
      assert len(hg["graph"].nodes()) == 12
      assert len(nodes_arr) == 12
      edges_err = hg["graph"].edges().to_arrow()
      assert len(hg["graph"].edges()) == 9
      assert len(edges_err) == 9
  
imports: import datetime
  import pandas
  import pytest
  import cudf
  from cudf.testing.testing import assert_frame_equal
  import cugraph
label_desc: Use image node_id 18 for calling a global function with example usage: test_hyper_to_pa_all() without return types