docstr: Test class_separation_plot function
  
  This test assumes the plot output is correct
docstr_tok: ["Test","class_separation_plot","function","This","test","assumes","the","plot","output","is","correct"]
code: def test_class_separation_plot(self, mock_plt):
      """
      Test class_separation_plot function
  
      This test assumes the plot output is correct
      """
  
      # GIVEN test predictions (formatted as a DataFrame)
      test_predictions = [
          {"predicted": 0.8234533056632546, "truth": 1.0},
          {"predicted": 0.38809152841543315, "truth": 0.0},
          {"predicted": 0.6884520702843566, "truth": 1.0},
          {"predicted": 0.8619420469620636, "truth": 1.0},
          {"predicted": 0.4467523400196148, "truth": 1.0},
          {"predicted": 0.1866420601469934, "truth": 0.0},
          {"predicted": 0.3254255160354242, "truth": 0.0},
          {"predicted": 0.7630648787719122, "truth": 1.0},
          {"predicted": -0.057428628469647525, "truth": 0.0},
          {"predicted": 0.7552402377980721, "truth": 1.0},
      ]
  
      test_pred_df = pd.DataFrame(test_predictions)
  
      # WHEN plots.class_separation_plot is run
      plots.class_separation_plot(
          test_pred_df, n_bins=45, title="TEST Class Separation Plot"
      )
  
      # THEN validate plt.show is called
      self.assertTrue(mock_plt.show.called)
  
file_path: recmetrics/tests/test_plots.py
imports: import unittest
  from unittest import mock
  import numpy
  import pandas
  from recmetrics import plots
label_desc: Use image node_id 7 for calling the TestPlots obj's underlying member method code with example usage: obj.test_class_separation_plot(mock_plt) without return types