protected static void test(String[] args)
	{
		Random r=new Random(System.currentTimeMillis());
		int span=200;
		int bigDiff=0;
		for(int it=0;it<50000;it++)
		{
			Set<Integer> l=new TreeSet<Integer>();
			LongSet g=new LongSet();
			for(int i=0;i<200;i++)
			{
				if(r.nextBoolean())
				{
					int n=r.nextInt(3)+1;
					int x1=r.nextInt(span)+1;
					LongSet gc=g.copyOf();
					g.addIntRange(x1, x1+n);
					for(int x=x1;x<=x1+n;x++)
						l.add(new Integer(x));
					if(!checkList(g,l,span))
					{
						System.err.println("Fail !!");
						gc.addIntRange(x1,x1+n);
					}
				}
				else
				{
					int x1=r.nextInt(span)+1;
					LongSet gc=g.copyOf();
					g.addInt(x1);
					l.add(new Integer(x1));
					if(!checkList(g,l,span))
					{
						System.err.println("Fail !!");
						gc.addInt(x1);
					}
				}
			}
			if((g.size()-g.intArray.length)>bigDiff)
			{
				bigDiff=g.size()-g.intArray.length;
			}
		}
	}