code: def test_byte_align_consistent_data(self):
      shape = (10, 10)
      a = numpy.int16(numpy.random.randn(*shape) * 16000)
      b = numpy.float64(numpy.random.randn(*shape))
      c = numpy.int8(numpy.random.randn(*shape) * 255)
  
      # Test a few alignments
      for n in [None, 3, 7, 9, 16, 24, 23, 63, 64]:
          d = byte_align(a, n=n)
          self.assertTrue(numpy.array_equal(a, d))
  
          d = byte_align(b, n=n)
          self.assertTrue(numpy.array_equal(b, d))
  
          d = byte_align(c, n=n)
          self.assertTrue(numpy.array_equal(c, d))
  
imports: from pyfftw import byte_align, is_byte_aligned, ones_aligned, empty_aligned, zeros_aligned, simd_alignment
  from pyfftw import n_byte_align, n_byte_align_empty, is_n_byte_aligned
  import numpy
  from timeit import Timer
  from .test_pyfftw_base import run_test_suites
  import unittest
  import warnings
label_desc: Use image node_id 18 for calling the ByteAlignTest obj's underlying member method code with example usage: obj.test_byte_align_consistent_data() without return types