code: def test_equality(make_run: Callable[..., Run]) -> None:
      """
      Expects
      -------
      * Two runs with the same id's should be considered equal
      * Otherwise, they should be considered different
      """
      r1 = make_run(id=1, budget=49.3, seed=3)
      r2 = make_run(id=1, budget=49.3, seed=3)
  
      assert r1 == r2
  
      r3 = make_run(id=1, budget=0.0, seed=3)
  
      assert r1 != r3
      assert r2 != r3
  
file_path: auto-sklearn/test/test_ensemble_builder/test_run.py
imports: from __future__ import annotations
  from typing import Callable
  import pickle
  import time
  from pathlib import Path
  import numpy
  from autosklearn.ensemble_building import Run
  from pytest_cases import parametrize
label_desc: Use image node_id 7 for calling a global function with example usage: test_equality(make_run) without return types