--- a/inst/@galois/ifft.m
+++ b/inst/@galois/ifft.m
@@ -49,3 +49,6 @@
   endif
 
 endfunction
+
+%%Test input validation
+%!error ifft (gf (1, 12))