code: def test_interpolate_adjacent(self):
      dtype = tf.float64
      times = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0], dtype=dtype)
      values = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0], dtype=dtype)
      actual = self.evaluate(
          monotone_convex._interpolate_adjacent(times, values)
      )
      expected = [0.75, 1.5, 2.5, 3.5, 4.5, 5.25]
      np.testing.assert_array_equal(actual, expected)
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v2
  from tensorflow.python.framework import test_util
  from tf_quant_finance.rates.hagan_west import monotone_convex
label_desc: Use image node_id 1 for calling the MonotoneConvexTest obj's underlying member method code with example usage: obj.test_interpolate_adjacent() without return types