package innovimax.mixthem;

import innovimax.mixthem.arguments.ArgumentException;

import org.junit.Assert;
import org.junit.Test;

/*
    Created by innovimax-jim
    Basic tests for this application
*/
public class MainTest {

    @Test
    public final void testMainEmptyArgs() throws ArgumentException {
        final String args[] = {};
        MixThem.main(args);
        Assert.assertTrue(true);
    }
    
    @Test
    public final void testMainRule1() throws ArgumentException {
        final String args[] = { "-1", getClass().getResource("test001_file1.txt").getFile(), getClass().getResource("test001_file1.txt").getFile() };
        MixThem.main(args);
        Assert.assertTrue(true);
    }

}

@@ -700,10 +700,252 @@
 %0A    %7D%0A%0A
+    @Test%0A    public final void testMainZip() throws ArgumentException %7B%0A        final String args%5B%5D = %7B %22-+%22, %22--zip%22, getClass().getResource(%22zip/test001.zip%22).getFile() %7D;%0A        MixThem.main(args);%0A        Assert.assertTrue(true);%0A    %7D%0A
 %7D%0A

Update MainTest.java