code: def test_days_in_leap_years_between(self):
      test_cases = test_data.days_in_leap_years_test_cases
      date_tuples1, date_tuples2, expected_num_days = [], [], []
      for case in test_cases:
          date_tuples1.append(case["date1"])
          date_tuples2.append(case["date2"])
          expected_num_days.append(case["expected"])
      dates1 = dates.dates_from_tuples(date_tuples1)
      dates2 = dates.dates_from_tuples(date_tuples2)
      actual_num_days = date_utils.days_in_leap_years_between(
          dates1, dates2
      )
      self.assertAllEqual(expected_num_days, actual_num_days)
  
file_path: tf-quant-finance/tf_quant_finance/datetime/date_utils_test.py
imports: import datetime
  import numpy
  import tensorflow.compat.v2
  import tf_quant_finance
  from tf_quant_finance.datetime import test_data
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 4 for calling the DateUtilsTest obj's underlying member method code with example usage: obj.test_days_in_leap_years_between() without return types