code: def test_sharded_filepaths(
      self,
      num_shards: int,
      expected_first_suffix: str,
      expected_last_suffix: str,
  ):
      template = naming.ShardedFileTemplate(
          split="train",
          dataset_name="ds",
          data_dir="/path",
          filetype_suffix="tfrecord",
      )
      names = template.sharded_filepaths(num_shards)
      path_template = "/path/ds-train.tfrecord-%s"
      self.assertEqual(
          os.fspath(names[0]), path_template % (expected_first_suffix)
      )
      self.assertEqual(
          os.fspath(names[-1]), path_template % (expected_last_suffix)
      )
  
imports: import os
  from absl.testing import parameterized
  from etils import epath
  import pytest
  from tensorflow_datasets import testing
  from tensorflow_datasets.core import naming
  from tensorflow_datasets.core import splits
label_desc: Use image node_id 3 for calling the NamingTest obj's underlying member method code with example usage: obj.test_sharded_filepaths(num_shards, expected_first_suffix, expected_last_suffix) without return types