code: def test_both_concordance_index_function_deal_with_ties_the_same_way():
      actual_times = np.array([1, 1, 2])
      predicted_times = np.array([1, 2, 3])
      obs = np.ones(3)
      assert (
          fast_cindex(actual_times, predicted_times, obs)
          == slow_cindex(actual_times, predicted_times, obs)
          == 1.0
      )
  
file_path: lifelines/lifelines/tests/utils/test_concordance.py
imports: import pytest
  import numpy
  import pandas
  from lifelines import CoxPHFitter
  from lifelines.datasets import load_rossi
  from lifelines.utils.concordance import concordance_index
  from lifelines.utils.concordance import concordance_index
  from lifelines.utils.concordance import naive_concordance_index
label_desc: Use image node_id 2 for calling a global function with example usage: test_both_concordance_index_function_deal_with_ties_the_same_way() without return types