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);
    }

    @Test
    public final void testMainZip() throws ArgumentException {
        final String args[] = { "-+", "--zip", getClass().getResource("zip/test001.zip").getFile() };
        MixThem.main(args);
        Assert.assertTrue(true);
    }
}

@@ -451,17 +451,19 @@
 MainRule
-1
+Alt
 () throw
@@ -518,17 +518,24 @@
 %5D = %7B %22-
-1
+alt-line
 %22, getCl

Update MainTest.java