code: def test_struct_memory_usage():
      s = cudf.Series(
          [{"a": 1, "b": 10}, {"a": 2, "b": 20}, {"a": 3, "b": 30}]
      )
      df = s.struct.explode()
  
      assert_eq(s.memory_usage(), df.memory_usage().sum())
  
imports: import numpy
  import pandas
  import pyarrow
  import pytest
  import cudf
  from cudf.core.dtypes import StructDtype
  from cudf.testing._utils import DATETIME_TYPES, TIMEDELTA_TYPES, assert_eq
label_desc: Use image node_id 22 for calling a global function with example usage: test_struct_memory_usage() without return types