code: def test_study_summary_eq_ne() -> None:
      storage = RDBStorage("sqlite:///:memory:")
  
      create_study(storage=storage)
      study = create_study(storage=storage)
  
      summaries = get_all_study_summaries(
          study._storage, include_best_trial=True
      )
      assert len(summaries) == 2
  
      assert summaries[0] == copy.deepcopy(summaries[0])
      assert not summaries[0] != copy.deepcopy(summaries[0])
  
      assert not summaries[0] == summaries[1]
      assert summaries[0] != summaries[1]
  
      assert not summaries[0] == 1
      assert summaries[0] != 1
  
imports: import copy
  import pytest
  from optuna import create_study
  from optuna import get_all_study_summaries
  from optuna.storages import RDBStorage
label_desc: Use image node_id 1 for calling a global function with example usage: test_study_summary_eq_ne() without return types