code: def test_random_dates(self):
      start_dates = dateslib.dates_from_tuples(
          [(2020, 5, 16), (2020, 6, 13)]
      )
      end_dates = dateslib.dates_from_tuples([(2021, 5, 21)])
      size = 3  # Generate 3 dates for each pair of (start, end date).
      sample = dateslib.random_dates(
          start_date=start_dates, end_date=end_dates, size=size, seed=42
      )
      self.assertEqual(sample.shape, (3, 2))
      self.assertTrue(self.evaluate(tf.reduce_all(sample < end_dates)))
      self.assertTrue(
          self.evaluate(tf.reduce_all(sample >= start_dates))
      )
  
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 27 for calling the DateTensorTest obj's underlying member method code with example usage: obj.test_random_dates() without return types