@@ -0,0 +1,814 @@
+public class Test %7B%0A%0A    static int numer = 0;%0A    static boolean ok = true;%0A%0A    static void test(int%5B%5D tablica, int oczekiwana) %7B%0A%0A        int suma = Sumator.sumuj(tablica);%0A%0A        if (suma == oczekiwana) %7B%0A            System.out.println(++numer + %22 OK%22);%0A        %7D else %7B%0A            System.out.println(++numer + %22 ERROR!!!%22);%0A            ok = false;%0A        %7D%0A%0A    %7D%0A%0A    public static void main(String%5B%5D args) %7B%0A%0A        int%5B%5D%5B%5D t = %7B%0A            %7B0, 1, 2, 3%7D,%0A            %7B1, 2, 3%7D,%0A            %7B0, 5, -10%7D,%0A        %7D;%0A%0A        test(t%5B0%5D, 6);%0A        test(t%5B1%5D, 6);%0A        test(t%5B2%5D, -5);%0A%0A        if (ok) %7B%0A            System.out.println(%22Wszystkie testy powiodly sie%22);%0A        %7D else %7B%0A            System.out.println(%22Niektore testy nie powiodly sie!%22);%0A            System.exit(1);%0A        %7D%0A%0A    %7D%0A%0A%7D%0A

add test