Run test on larger class as well

This commit is contained in:
Mark Vainomaa 2017-03-26 18:45:01 +03:00
parent ec24536261
commit 5a0de0c0b9
2 changed files with 5 additions and 0 deletions

View File

@ -7,7 +7,12 @@ import eu.mikroskeem.shuriken.common.streams.ByteArrays;
*/ */
public class Main { public class Main {
public static void main(String... args){ public static void main(String... args){
System.out.println("==== Väikese class faili pakkimise test");
byte[] classFile = ByteArrays.fromInputStream(Main.class.getResourceAsStream("/Test.class")); byte[] classFile = ByteArrays.fromInputStream(Main.class.getResourceAsStream("/Test.class"));
Utils.generateReport(classFile); Utils.generateReport(classFile);
System.out.println("=== Suure class faili pakkimise test");
byte[] classFile2 = ByteArrays.fromInputStream(Main.class.getResourceAsStream("/TestBig.class"));
Utils.generateReport(classFile2);
} }
} }

Binary file not shown.