code: def test_ngram_basic_longer(dataset_num_files_1, reader_factory):
      """Tests basic ngram with no delta threshold with no shuffle and in the same partition."""
      fields = {
          -2: [TestSchema.id, TestSchema.id2, TestSchema.matrix],
          -1: [TestSchema.id, TestSchema.id2, TestSchema.image_png],
          0: [TestSchema.id, TestSchema.id2, TestSchema.decimal],
          1: [TestSchema.id, TestSchema.id2, TestSchema.sensor_name],
          2: [TestSchema.id, TestSchema.id2],
      }
      _test_continuous_ngram(
          fields, dataset_num_files_1, reader_factory
      )
  
imports: from decimal import Decimal
  import numpy
  import pytest
  import tensorflow.compat.v1
  from unittest import mock
  from petastorm import make_reader
  from petastorm.ngram import NGram
  from petastorm.tests.conftest import SyntheticDataset, maybe_cached_dataset
  from petastorm.tests.test_common import create_test_dataset, TestSchema
  from petastorm.tests.test_tf_utils import create_tf_graph
  from petastorm.tf_utils import tf_tensors
label_desc: Use image node_id 13 for calling a global function with example usage: test_ngram_basic_longer(dataset_num_files_1, reader_factory) without return types