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