code: def test_feature_timestamp_round_trip(self):
      example = tf.train.SequenceExample()
      values_1 = 47
      values_2 = 49
      ms.add_feature_timestamp(values_1, example, "1")
      ms.add_feature_timestamp(values_1, example, "1")
      ms.add_feature_timestamp(values_2, example, "2")
      self.assertEqual(2, ms.get_feature_timestamp_size(example, "1"))
      self.assertEqual(1, ms.get_feature_timestamp_size(example, "2"))
      self.assertTrue(ms.has_feature_timestamp(example, "1"))
      self.assertTrue(ms.has_feature_timestamp(example, "2"))
      self.assertAllClose(
          values_1, ms.get_feature_timestamp_at(0, example, "1")
      )
      self.assertAllClose(
          values_2, ms.get_feature_timestamp_at(0, example, "2")
      )
      ms.clear_feature_timestamp(example, "1")
      self.assertEqual(0, ms.get_feature_timestamp_size(example, "1"))
      self.assertFalse(ms.has_feature_timestamp(example, "1"))
      self.assertEqual(1, ms.get_feature_timestamp_size(example, "2"))
      self.assertTrue(ms.has_feature_timestamp(example, "2"))
      ms.clear_feature_timestamp(example, "2")
      self.assertEqual(0, ms.get_feature_timestamp_size(example, "2"))
      self.assertFalse(ms.has_feature_timestamp(example, "2"))
  
file_path: mediapipe/mediapipe/util/sequence/media_sequence_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  import tensorflow.compat.v1
  from mediapipe.util.sequence import media_sequence
label_desc: Use image node_id 8 for calling the MediaSequenceTest obj's underlying member method code with example usage: obj.test_feature_timestamp_round_trip() without return types