private static void compareMatches( byte[] matchData, Match[] matches )
		throws MVDTestException
	{
		int pos = 0;
		while ( pos < matchData.length )
		{
			Match match = new Match( matchData, pos );
			System.out.println(match);
			for ( int i=0;i<matches.length;i++ )
			{
				if ( !matches[i].isFound() )
				{
					if ( matches[i].equals(match) )
					{
						matches[i].setFound( true );
						break;
					}
				}
			}
			pos += match.getSrcLen();
		}
		for ( int i=0;i<matches.length;i++ )
			if ( !matches[i].isFound() )
				throw new MVDTestException("Match "+matches[i]+" not found");
	}