@Test
	/**
	 * Tests moving pieces on a board.
	 */
	public void testPieceMovement(){
		String testBoard1 = "EEEE22E2111111112222222E";
		GameBoard board = null;
		try {
			board = new GameBoard(testBoard1);
			System.out.println("Testing board:");
			System.out.println(board.toString());
			Team team1 = board.getTeam1(), team2 = board.getTeam2();
			board.movePiece(new Move(team2, 0, 7, 0, 6));
			System.out.println();
			System.out.println(board.toString());
			if(board.detectNineManMill(team2, 0, 6)){
				System.out.println("It's a mill");
			}
			else{
				System.out.println("It's not a mill");
			}
			board.movePiece(new Move(team1, 1, 3, 0, 3));
			System.out.println();
			System.out.println(board.toString());
			if(board.detectNineManMill(team1, 0, 3)){
				System.out.println("It's a mill");
			}
			else{
				System.out.println("It's not a mill");
			}
			board.movePiece(new Move(team2, 2, 0, 2, 7));
			System.out.println();
			System.out.println(board.toString());
			if(board.detectNineManMill(team2, 2, 7)){
				System.out.println("It's a mill");
			}
			else{
				System.out.println("It's not a mill");
			}
			
			board.movePiece(new Move(team1, 1, 7, 0, 7));
			System.out.println();
			System.out.println(board.toString());
			if(board.detectNineManMill(team1, 1, 3)){
				System.out.println("It's a mill");
			}
			else{
				System.out.println("It's not a mill");
			}
			board.movePiece(new Move(team2, 2, 7, 1, 7));
			System.out.println();
			System.out.println(board.toString());
			if(board.detectNineManMill(team2, 2, 7)){
				System.out.println("It's a mill");
			}
			else{
				System.out.println("It's not a mill");
			}
			
			board.movePiece(new Move(team1, 0, 7, 0, 0));
			System.out.println();
			System.out.println(board.toString());
			if(board.detectNineManMill(team1, 1, 3)){
				System.out.println("It's a mill");
			}
			else{
				System.out.println("It's not a mill");
			}
			
		} catch (Exception e) {
			fail("Exception occured while moving piece(s)");
			e.printStackTrace();
		}
		

	}