private static void test1_1() throws FileNotFoundException {

		String test1 = "quit\n"+"yes\n";

		HashMap<Integer, String> output = new HashMap<Integer, String>();
		
		boolean passed = true;
		try {
			in = new ByteArrayInputStream(test1.getBytes());
			System.setIn(in);
			out = new PrintStream("testing.txt");
			System.setOut(out);
			Game.main(null);
		} catch (ExitException se) {

		} catch (Exception e) {
			System.setOut(stdout);
			System.out.println("Error: ");
			e.printStackTrace();
			passed = false;
		} finally {
			System.setOut(stdout);
			@SuppressWarnings("resource")
			Scanner sc = new Scanner(new File("testing.txt"));
			ArrayList<String> testOutput = new ArrayList<String>();
			while (sc.hasNextLine()) {
				testOutput.add(sc.nextLine());
			}
			
			output.put(testOutput.size() - 2, ">> Are you sure you want to quit? (y/n)");
			output.put(testOutput.size() - 1, ">>");
			
			if (passed) {
				for (Map.Entry<Integer, String> entry : output.entrySet()) {
					if (!testOutput.get(entry.getKey())
							.equals(entry.getValue())) {
						passed = false;
						System.out.println("test1_1 failed: Line "
								+ entry.getKey());
						System.out.println("\tExpected: " + entry.getValue());
						System.out.println("\tReceived: "
								+ testOutput.get(entry.getKey()));
					}
				}
				if (passed) {
					System.out.println("test1_1 passed");
				}
			} else {
				System.out.println("test1_1 failed: error");
			}
		}
	}