code: def test_arraylike_data_adapter_drop_leftovers() -> None:
      seq = keras._ArrayLikeAdapter(
          np.arange(0, 100),
          np.arange(100, 200),
          batch_size=16,
          drop_leftovers=False,
      )
      assert len(seq) == 7  # ceil(100/16)
      assert np.array_equal(
          seq[6], (np.arange(96, 100), np.arange(196, 200))
      )
  
      seq = keras._ArrayLikeAdapter(
          np.arange(0, 100),
          np.arange(100, 200),
          batch_size=16,
          drop_leftovers=True,
      )
      assert len(seq) == 6  # floor(100/16)
      assert np.array_equal(
          seq[3], (np.arange(48, 64), np.arange(148, 164))
      )
  
imports: from typing import Tuple
  import numpy
  import pytest
  from tensorflow.keras.utils import Sequence
  import determined
  from determined import keras
  from determined.common import check
  from tests.experiment import tf_utils
label_desc: Use image node_id 2 for calling a global function with example usage: test_arraylike_data_adapter_drop_leftovers() without return types