docstr: Test to see if the alignment is returned correctly
          
code: def test_alignment(self):
      """Test to see if the alignment is returned correctly"""
      in_shape = self.input_shapes["2d"]
      out_shape = self.output_shapes["2d"]
  
      input_dtype_alignment = self.get_input_dtype_alignment()
      output_dtype_alignment = self.get_output_dtype_alignment()
  
      axes = (-1,)
      a, b = self.create_test_arrays(in_shape, out_shape)
  
      a = byte_align(a, n=16)
      b = byte_align(b, n=16)
  
      fft, ifft = self.run_validate_fft(
          a, b, axes, force_unaligned_data=True
      )
  
      a, b = self.create_test_arrays(in_shape, out_shape)
  
      a = byte_align(a, n=16)
      b = byte_align(b, n=16)
  
      a_orig = a.copy()
      b_orig = b.copy()
  
      # Offset from 16 byte aligned to guarantee it's not
      # 16 byte aligned
      a__ = empty_aligned(
          numpy.prod(in_shape) * a.itemsize + input_dtype_alignment,
          dtype="int8",
          n=16,
      )
  
      a_ = (
          a__[input_dtype_alignment:]
          .view(dtype=self.input_dtype)
          .reshape(*in_shape)
      )
      a_[:] = a
  
      b__ = empty_aligned(
          numpy.prod(out_shape) * b.itemsize + input_dtype_alignment,
          dtype="int8",
          n=16,
      )
  
      b_ = (
          b__[input_dtype_alignment:]
          .view(dtype=self.output_dtype)
          .reshape(*out_shape)
      )
      b_[:] = b
  
      a[:] = a_orig
      fft, ifft = self.run_validate_fft(
          a, b, axes, create_array_copies=False
      )
  
      self.assertTrue(fft.input_alignment == 16)
      self.assertTrue(fft.output_alignment == 16)
  
      a[:] = a_orig
      fft, ifft = self.run_validate_fft(
          a, b_, axes, create_array_copies=False
      )
  
      self.assertTrue(fft.input_alignment == input_dtype_alignment)
      self.assertTrue(fft.output_alignment == output_dtype_alignment)
  
      a_[:] = a_orig
      fft, ifft = self.run_validate_fft(
          a_, b, axes, create_array_copies=False
      )
      self.assertTrue(fft.input_alignment == input_dtype_alignment)
      self.assertTrue(fft.output_alignment == output_dtype_alignment)
  
      a_[:] = a_orig
      fft, ifft = self.run_validate_fft(
          a_, b_, axes, create_array_copies=False
      )
      self.assertTrue(fft.input_alignment == input_dtype_alignment)
      self.assertTrue(fft.output_alignment == output_dtype_alignment)
  
      a[:] = a_orig
      fft, ifft = self.run_validate_fft(
          a,
          b,
          axes,
          create_array_copies=False,
          force_unaligned_data=True,
      )
      self.assertTrue(fft.input_alignment == input_dtype_alignment)
      self.assertTrue(fft.output_alignment == output_dtype_alignment)
  
imports: from pyfftw import FFTW, byte_align, empty_aligned, forget_wisdom
  import pyfftw
  import numpy
  from timeit import Timer
  import time
  import unittest
  from .test_pyfftw_base import FFTWBaseTest, run_test_suites, miss, np_fft
label_desc: Use image node_id 13 for calling the Complex64FFTW1DTest obj's underlying member method code with example usage: obj.test_alignment() without return types