package generator;

class Test {

    public static void main (String[] args) {
        String strInput = "TOP";

        final int size = strInput.length();
        int[] input = new int[size];

        for(int i = 0; i < size; i++ ) {
            input[i] = (int) strInput.charAt(i);
        }

        float result = FstComputeSwitch.compute(input);
        System.out.println(result);
    }

}

@@ -17,100 +17,321 @@
 r;%0A%0A
-class Test %7B%0A%0A    public static void main (String%5B%5D args) %7B%0A        String strInput = %22TOP%22;
+import generated.FstComputeTest1;%0Aimport generated.FstComputeTest2;%0Aimport generated.FstComputeTest3;%0A%0Aclass Test %7B%0A%0A    public static void main (String%5B%5D args) %7B%0A        String strInput = %22%22;%0A%0A        if(args.length %3E 0) %7B%0A            strInput = args%5B0%5D;%0A        %7D else %7B%0A            strInput = %22MOTH%22;%0A        %7D
 %0A%0A  
@@ -531,16 +531,17 @@
 t result
+1
  = FstCo
@@ -549,14 +549,125 @@
 pute
-Switch
+Test1.compute(input);%0A        float result2 = FstComputeTest2.compute(input);%0A        float result3 = FstComputeTest3
 .com
@@ -671,32 +671,33 @@
 compute(input);%0A
+%0A
         System.o
@@ -707,22 +707,198 @@
 println(
-result
+%22test for word : %22 + strInput);%0A        System.out.println(%22test1 -%3E %22 + result1);%0A        System.out.println(%22test2 -%3E %22 + result2);%0A        System.out.println(%22test3 -%3E %22 + result3
 );%0A    %7D

Test all three generated class on given input