public class Verifier
{
    public static final String INPUT_SIGNAL_1 = "12345678";

    public Verifier (boolean debug)
    {
        _debug = debug;
        _fft = new Compute(_debug);
    }

    public boolean verify ()
    {
        boolean result = false;
        int[] input = convert(INPUT_SIGNAL_1);
        int[] data = _fft.process(input, 1);

        for (int i = 0; i < data.length; i++)
            System.out.println(data[i]);

        return result;
    }

    private int[] convert (String input)
    {
        int[] result = new int[input.length()];
        char[] sequence = input.toCharArray();

        for (int i = 0; i < result.length; i++)
        {
            result[i] = Character.getNumericValue(sequence[i]);
        }

        return result;
    }
    
    private boolean _debug;
    Compute _fft;
}
@@ -76,16 +76,88 @@
 345678%22;
+%0A    public static final int%5B%5D INPUT_PHASE_1 = %7B4, 8, 2, 2, 6, 1, 5, 8%7D;
 %0A%0A    pu
@@ -323,12 +323,11 @@
 t = 
-fals
+tru
 e;%0A 
@@ -417,16 +417,24 @@
 ut, 1);%0A
+        
 %0A       
@@ -446,24 +446,25 @@
 (int i = 0; 
+(
 i %3C data.len
@@ -462,24 +462,35 @@
  data.length
+) && result
 ; i++)%0A     
@@ -496,40 +496,150 @@
     
+%7B%0A
     
-System.out.println(data%5Bi%5D);
+        if (data%5Bi%5D != INPUT_PHASE_1%5Bi%5D)%0A                result = false;%0A        %7D%0A%0A        if (result)%0A        %7B%0A            %0A        %7D
 %0A%0A  

Update Verifier.java