code: def test_format_suffix():
      assert (
          file_adapters.ADAPTER_FOR_FORMAT[
              file_adapters.DEFAULT_FILE_FORMAT
          ].FILE_SUFFIX
          == "tfrecord"
      )
      assert (
          file_adapters.ADAPTER_FOR_FORMAT[
              file_adapters.FileFormat.TFRECORD
          ].FILE_SUFFIX
          == "tfrecord"
      )
      assert (
          file_adapters.ADAPTER_FOR_FORMAT[
              file_adapters.FileFormat.RIEGELI
          ].FILE_SUFFIX
          == "riegeli"
      )
      assert (
          file_adapters.ADAPTER_FOR_FORMAT[
              file_adapters.FileFormat.ARRAY_RECORD
          ].FILE_SUFFIX
          == "array_record"
      )
      assert (
          file_adapters.ADAPTER_FOR_FORMAT[
              file_adapters.FileFormat.PARQUET
          ].FILE_SUFFIX
          == "parquet"
      )
  
file_path: datasets/tensorflow_datasets/core/file_adapters_test.py
imports: import pathlib
  from typing import Type
  import pytest
  from tensorflow_datasets import testing
  from tensorflow_datasets.core import dataset_builder
  from tensorflow_datasets.core import file_adapters
label_desc: Use image node_id 3 for calling a global function with example usage: test_format_suffix() without return types