code: def test_maxpool1d():
      x = jnp.arange(14).reshape(1, 14)
      max_pool = eqx.nn.MaxPool1d(2, 3)
      output = max_pool(x)
      answer = jnp.array([[1, 4, 7, 10, 13]])
  
      assert jnp.all(output == answer)
  
      max_pool = eqx.nn.MaxPool1d(
          kernel_size=3, stride=3, padding=0, use_ceil=True
      )
      answer = jnp.array([[2, 5, 8, 11, 13]])
      output = max_pool(x)
      assert jnp.all(output == answer)
  
imports: import warnings
  from typing import Union
  import equinox
  import jax
  import jax.nn
  import jax.numpy
  import jax.random
  import pytest
label_desc: Use image node_id 32 for calling a global function with example usage: test_maxpool1d() without return types