diff --git a/src/main/java/eu/mikroskeem/uurimustoo/algoritmidetest/Main.java b/src/main/java/eu/mikroskeem/uurimustoo/algoritmidetest/Main.java index ac6a95e..c8404a0 100644 --- a/src/main/java/eu/mikroskeem/uurimustoo/algoritmidetest/Main.java +++ b/src/main/java/eu/mikroskeem/uurimustoo/algoritmidetest/Main.java @@ -7,7 +7,12 @@ import eu.mikroskeem.shuriken.common.streams.ByteArrays; */ public class Main { public static void main(String... args){ + System.out.println("==== Väikese class faili pakkimise test"); byte[] classFile = ByteArrays.fromInputStream(Main.class.getResourceAsStream("/Test.class")); Utils.generateReport(classFile); + + System.out.println("=== Suure class faili pakkimise test"); + byte[] classFile2 = ByteArrays.fromInputStream(Main.class.getResourceAsStream("/TestBig.class")); + Utils.generateReport(classFile2); } } diff --git a/src/main/resources/TestBig.class b/src/main/resources/TestBig.class new file mode 100644 index 0000000..77776e9 Binary files /dev/null and b/src/main/resources/TestBig.class differ