docstr: Test to see if the flags are correct
          
docstr_tok: ["Test","to","see","if","the","flags","are","correct"]
code: def test_flags(self):
      """Test to see if the flags are correct"""
      fft = FFTW(self.input_array, self.output_array)
      self.assertEqual(fft.flags, ("FFTW_MEASURE",))
  
      fft = FFTW(
          self.input_array,
          self.output_array,
          flags=("FFTW_DESTROY_INPUT", "FFTW_UNALIGNED"),
      )
      self.assertEqual(
          fft.flags, ("FFTW_DESTROY_INPUT", "FFTW_UNALIGNED")
      )
  
      # Test an implicit flag
      _input_array = empty_aligned(256, dtype="complex64", n=16)
      _output_array = empty_aligned(256, dtype="complex64", n=16)
  
      # These are guaranteed to be misaligned (due to dtype size == 8)
      input_array = _input_array[:-1]
      output_array = _output_array[:-1]
      u_input_array = _input_array[1:]
      u_output_array = _output_array[1:]
  
      fft = FFTW(input_array, u_output_array)
      self.assertEqual(fft.flags, ("FFTW_MEASURE", "FFTW_UNALIGNED"))
  
      fft = FFTW(u_input_array, output_array)
      self.assertEqual(fft.flags, ("FFTW_MEASURE", "FFTW_UNALIGNED"))
  
      fft = FFTW(u_input_array, u_output_array)
      self.assertEqual(fft.flags, ("FFTW_MEASURE", "FFTW_UNALIGNED"))
  
imports: from pyfftw import FFTW, empty_aligned, is_byte_aligned, simd_alignment
  import pyfftw
  from .test_pyfftw_base import run_test_suites, miss, require
  import unittest
  import numpy
  import warnings
label_desc: Use image node_id 4 for calling the FFTWMiscTest obj's underlying member method code with example usage: obj.test_flags() without return types