// Path: src/test/java/analyticalengine/TestUtils.java
// public final class TestUtils {
// 
//     /**
//      * The message produced when {@link #shouldHaveThrownException()} is
//      * called.
//      */
//     private static final String EXCEPTION_MSG = "Exception should have been"
//             + " thrown on previous line.";
// 
//     /**
//      * Prints the stack trace of the specified Exception to stderr and calls
//      * {@link org.junit.Assert#fail(String)} in order to fail the test in which
//      * this method is called.
//      * 
//      * @param exception
//      *            The Exception which caused the test failure.
//      */
//     public static synchronized void fail(final Throwable exception) {
//         exception.printStackTrace(System.err);
//         org.junit.Assert.fail(exception.getMessage());
//     }
// 
//     /**
//      * Fails the test in which this method is called with the message that an
//      * Exception should have been thrown on the previous line.
//      */
//     public static void shouldHaveThrownException() {
//         org.junit.Assert.fail(EXCEPTION_MSG);
//     }
// 
//     /** Instantiation disallowed. */
//     private TestUtils() {
//         // intentionally unimplemented
//     }
// }


import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintStream;
import java.net.URI;
import java.net.URISyntaxException;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import analyticalengine.TestUtils;
        String output = this.stdout.toString();
        assertFalse(output.contains("Executing card COMMENT"));
    }

    /** Test for verbose information. */
    @Test
    public void testVerbose() {
        String testfile;
        try {
            testfile = Paths.get(
                    this.getClass().getResource("/test_basic.ae").toURI())
                    .toString();
        } catch (URISyntaxException e) {
            TestUtils.fail(e);
            return;
        }
        String[] argv = new String[] { "-X", "-v", "1", testfile };
        Main.main(argv);
        // TODO test something
    }

    /** Test for very verbose information. */
    @Test
    public void testVeryVerbose() {
        String testfile;
        try {
            testfile = Paths.get(
                    this.getClass().getResource("/test_basic.ae").toURI())
                    .toString();
        } catch (URISyntaxException e) {
// Path: src/test/java/analyticalengine/TestUtils.java
// public final class TestUtils {
// 
//     /**
//      * The message produced when {@link #shouldHaveThrownException()} is
//      * called.
//      */
//     private static final String EXCEPTION_MSG = "Exception should have been"
//             + " thrown on previous line.";
// 
//     /**
//      * Prints the stack trace of the specified Exception to stderr and calls
//      * {@link org.junit.Assert#fail(String)} in order to fail the test in which
//      * this method is called.
//      * 
//      * @param exception
//      *            The Exception which caused the test failure.
//      */
//     public static synchronized void fail(final Throwable exception) {
//         exception.printStackTrace(System.err);
//         org.junit.Assert.fail(exception.getMessage());
//     }
// 
//     /**
//      * Fails the test in which this method is called with the message that an
//      * Exception should have been thrown on the previous line.
//      */
//     public static void shouldHaveThrownException() {
//         org.junit.Assert.fail(EXCEPTION_MSG);
//     }
// 
//     /** Instantiation disallowed. */
//     private TestUtils() {
//         // intentionally unimplemented
//     }
// }


// Path: src/test/java/analyticalengine/main/MainTest.java
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintStream;
import java.net.URI;
import java.net.URISyntaxException;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import analyticalengine.TestUtils;

        String output = this.stdout.toString();
        assertFalse(output.contains("Executing card COMMENT"));
    }

    /** Test for verbose information. */
    @Test
    public void testVerbose() {
        String testfile;
        try {
            testfile = Paths.get(
                    this.getClass().getResource("/test_basic.ae").toURI())
                    .toString();
        } catch (URISyntaxException e) {
            TestUtils.fail(e);
            return;
        }
        String[] argv = new String[] { "-X", "-v", "1", testfile };
        Main.main(argv);
        // TODO test something
    }

    /** Test for very verbose information. */
    @Test
    public void testVeryVerbose() {
        String testfile;
        try {
            testfile = Paths.get(
                    this.getClass().getResource("/test_basic.ae").toURI())
                    .toString();
        } catch (URISyntaxException e) {
            TestUtils.fail(e);