docstr: test comparisons for `SequentialEncoder.encode_inference()
docstr_tok: ["test","comparisons","for","`","SequentialEncoder.encode_inference","(",")"]
code: def helper_sequence_encode_inference(
      self,
      encoders,
      n,
      past_covariates,
      future_covariates,
      expected_past_idx_ts,
      expected_future_idx_ts,
  ):
      """test comparisons for `SequentialEncoder.encode_inference()"""
  
      # generate encodings
      past_covs_pred, future_covs_pred = encoders.encode_inference(
          n=n,
          target=self.target_multi,
          past_covariates=past_covariates,
          future_covariates=future_covariates,
      )
      # encoded past and future covariates must have equal index as expected past and future
      for pc, pc_in in zip(past_covs_pred, expected_past_idx_ts):
          assert pc.time_index.equals(pc_in.time_index)
      for fc, fc_in in zip(future_covs_pred, expected_future_idx_ts):
          assert fc.time_index.equals(fc_in.time_index)
  
imports: import copy
  from typing import Optional, Sequence
  import numpy
  import pandas
  import pytest
  from darts import TimeSeries
  from darts.dataprocessing.encoders import FutureCallableIndexEncoder, FutureCyclicEncoder, FutureDatetimeAttributeEncoder, FutureIntegerIndexEncoder, PastCallableIndexEncoder, PastCyclicEncoder, PastDatetimeAttributeEncoder, PastIntegerIndexEncoder, SequentialEncoder
  from darts.dataprocessing.encoders.encoder_base import PastCovariatesIndexGenerator, SingleEncoder
  from darts.dataprocessing.encoders.encoders import CallableIndexEncoder, CyclicTemporalEncoder, DatetimeAttributeEncoder, IntegerIndexEncoder
  from darts.dataprocessing.transformers import Scaler
  from darts.logging import get_logger, raise_log
  from darts.utils import timeseries_generation
label_desc: Use image node_id 4 for calling the TestEncoder obj's underlying member method code with example usage: obj.helper_sequence_encode_inference(encoders, n, past_covariates, future_covariates, expected_past_idx_ts, expected_future_idx_ts) without return types