private static void doCompareTest()
	{
		try
		{
			System.out.print("Testing compare command ");
			String folderName = TEST_DATA+File.separator+BLESSED_DAMOZEL;
			File folder = new File( folderName );
			String mvdName = createTestMVD( folder );
			File mvdFile = new File( mvdName );
			Random rand = new Random( System.currentTimeMillis() );
			MVD mvd = MVDFile.internalise( mvdFile, null );
			int numVersions = mvd.numVersions();
			int v1 = 1;
			for ( v1=1;v1<=numVersions;v1++ )
			{
				int v2 = -1;
				while ( v2 == -1 || v2 == v1 )
					v2 = rand.nextInt(numVersions)+1;
				char[] text1 = mvd.getVersion( v1 );
				char[] text2 = mvd.getVersion( v2 );
				char[] ver1 = collectVersionFromCompare(mvdName,
					v1,v2,ChunkState.deleted,text1);
				char[] ver2 = collectVersionFromCompare(mvdName,
					v2,v1,ChunkState.added,text2);
				compareTwoCharArrays( text1, ver1 );
				compareTwoCharArrays( text2, ver2 );
				System.out.print(".");
			}
			testsPassed++;
			System.out.println(" test passed.");
		}
		catch ( Exception e )
		{
			doTestFailed( e );
		}
	}