package innovimax.mixthem;

import innovimax.mixthem.MixThem;

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

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

	@Test
  	public final void failedPrintUsage() {
		final String args1[] = {};
    	Assert.assertNull(MixThem.checkArguments(args1));
    	final String args2[] = { "ghost1", "ghost2" };
    	Assert.assertNull(MixThem.checkArguments(args2));
		MixThem.printUsage();
  	}

}

@@ -53,24 +53,80 @@
 em.MixThem;%0D
+%0Aimport innovimax.mixthem.exceptions.ArgumentException;%0D
 %0A%0D%0Aimport or
@@ -323,16 +323,58 @@
 ge() %7B%0D%0A
+  %09%09boolean check = false;%0D%0A  %09%09try %7B%0D%0A  %09
 %09%09final 
@@ -384,17 +384,16 @@
 ing args
-1
 %5B%5D = %7B%7D;
@@ -400,66 +400,233 @@
 %0D%0A  
-  %09Assert.assertNull(MixThem.checkArguments(args1));%0D%0A    
+%09%09%09Arguments mixArgs = Arguments.checkArguments(args);%0D%0A  %09%09%09check = true;%0D%0A  %09%09%7D catch (ArgumentException e) %7B%0D%0A  %09%09%09System.out.println(e.getMessage());%0D%0A  %09%09%7D%0D%0A%09%09Assert.assertFalse(check);%0D%0A%09%09check = false;%0D%0A  %09%09try %7B%0D%0A  %09%09
 %09fin
@@ -639,17 +639,16 @@
 ing args
-2
 %5B%5D = %7B %22
@@ -675,58 +675,196 @@
 %0D%0A  
-  %09Assert.assertNull(MixThem.checkArguments(args2)
+%09%09%09Arguments mixArgs = Arguments.checkArguments(args);%0D%0A  %09%09%09check = true;%0D%0A  %09%09%7D catch (ArgumentException e) %7B%0D%0A  %09%09%09System.out.println(e.getMessage());%0D%0A  %09%09%7D%0D%0A%09%09Assert.assertFalse(check
 );%0D%0A

Update BasicTest.java