public boolean TestLineSort(double x, boolean blue){
		boolean r=true;
		LineComparator x_evaluation = new LineComparator(x);
		List<Point> locList;
		if(blue==true){
			locList = new ArrayList<Point>(lBlue);
		}
		else {
			locList= new ArrayList<Point>(lRed);
		}
		Collections.sort(locList, x_evaluation);
		for (int i = 0; i < locList.size(); i++) {
	        if (i+1!=locList.size()){
	        	if(  (locList.get(i).eval(x)==locList.get(i+1).eval(x)) && ( locList.get(i).i <=locList.get(i+1).i ) ){
	        		if (x<0){r=false;}
	        	}
	        	else if ( locList.get(i).i >locList.get(i+1).i ){
	        		if (x>=0){r=false;}
	        	}
	        }
	        		

        }
		return r;
	}