code: def test_all_scores(self):
      scores = self.est_titanic.all_scores()
      scores_ref = [
          (-2072.9132364404695, []),
          (-2069.071694164769, [("Pclass", "Sex")]),
          (-2069.0144197068785, [("Sex", "Pclass")]),
          (-2025.869489762676, [("Survived", "Pclass")]),
          (-2025.8559302273054, [("Pclass", "Survived")]),
          (
              -2022.0279474869753,
              [("Pclass", "Sex"), ("Survived", "Pclass")],
          ),
          (
              -2022.0143879516047,
              [("Pclass", "Sex"), ("Pclass", "Survived")],
          ),
          (
              -2021.9571134937144,
              [("Pclass", "Survived"), ("Sex", "Pclass")],
          ),
          (
              -2017.5258065853768,
              [("Sex", "Pclass"), ("Survived", "Pclass")],
          ),
          (-1941.3075053892837, [("Survived", "Sex")]),
          (-1941.2720031713893, [("Sex", "Survived")]),
          (
              -1937.4304608956886,
              [("Pclass", "Sex"), ("Sex", "Survived")],
          ),
          (
              -1937.4086886556927,
              [("Sex", "Pclass"), ("Survived", "Sex")],
          ),
          (
              -1937.3731864377983,
              [("Sex", "Pclass"), ("Sex", "Survived")],
          ),
          (
              -1934.1344850608882,
              [("Pclass", "Sex"), ("Survived", "Sex")],
          ),
          (
              -1894.2637587114903,
              [("Survived", "Pclass"), ("Survived", "Sex")],
          ),
          (
              -1894.2501991761198,
              [("Pclass", "Survived"), ("Survived", "Sex")],
          ),
          (
              -1894.2282564935958,
              [("Sex", "Survived"), ("Survived", "Pclass")],
          ),
          (
              -1891.0630673606006,
              [("Pclass", "Survived"), ("Sex", "Survived")],
          ),
          (
              -1887.2215250849,
              [
                  ("Pclass", "Sex"),
                  ("Pclass", "Survived"),
                  ("Sex", "Survived"),
              ],
          ),
          (
              -1887.1642506270096,
              [
                  ("Pclass", "Survived"),
                  ("Sex", "Pclass"),
                  ("Sex", "Survived"),
              ],
          ),
          (
              -1887.0907383830947,
              [
                  ("Pclass", "Sex"),
                  ("Survived", "Pclass"),
                  ("Survived", "Sex"),
              ],
          ),
          (
              -1887.0771788477243,
              [
                  ("Pclass", "Sex"),
                  ("Pclass", "Survived"),
                  ("Survived", "Sex"),
              ],
          ),
          (
              -1885.9200755341915,
              [
                  ("Sex", "Pclass"),
                  ("Survived", "Pclass"),
                  ("Survived", "Sex"),
              ],
          ),
          (
              -1885.884573316297,
              [
                  ("Sex", "Pclass"),
                  ("Sex", "Survived"),
                  ("Survived", "Pclass"),
              ],
          ),
      ]
  
      self.assertEqual(
          [sorted(model.edges()) for score, model in scores],
          [edges for score, edges in scores_ref],
      )
      # use assertAlmostEqual point wise to avoid rounding issues
      map(
          lambda x, y: self.assertAlmostEqual(x, y),
          [score for score, model in scores],
          [score for score, edges in scores_ref],
      )
  
file_path: pgmpy/pgmpy/tests/test_estimators/test_ExhaustiveSearch.py
imports: import unittest
  import numpy
  import pandas
  from pgmpy.estimators import BDeuScore, BicScore, ExhaustiveSearch
label_desc: Use image node_id 5 for calling the TestBaseEstimator obj's underlying member method code with example usage: obj.test_all_scores() without return types