testDirect("a\n", "a\nb\n", "a\nb\n", "a\nb\n", "\n", FSMergerBySequence.NOT_MODIFIED); testDirect("a", "a\nb\n", "a\nb\n", "a\nb\n", "\n", FSMergerBySequence.NOT_MODIFIED); testDirect("a\nb\nc\n", "a\nx\nc\n", "a\ny\nc\n", "a\n>\nx\n=\ny\n<\nc\n", "\n", FSMergerBySequence.CONFLICTED); testDirect("a\nb", "a\nx", "a\ny", "a\n>\nx=\ny<\n", "\n", FSMergerBySequence.CONFLICTED); testDirect("a", "a\nx", "a\ny", ">\na\nx=\na\ny<\n", "\n", FSMergerBySequence.CONFLICTED); testDirect("a", "a\nx\n", "a\ny\n", ">\na\nx\n=\na\ny\n<\n", "\n", FSMergerBySequence.CONFLICTED);
testDirect("a\n", "a\nb\n", "a\nb\n", "a\nb\n", FSMergerBySequence.NOT_MODIFIED); testDirect("a", "a\nb\n", "a\nb\n", "a\nb\n", FSMergerBySequence.NOT_MODIFIED); testDirect("a\nb\nc\n", "a\nx\nc\n", "a\ny\nc\n", "a\n>" + FSMergerBySequence.DEFAULT_EOL + "x\n=" + FSMergerBySequence.DEFAULT_EOL + "y\n<" + FSMergerBySequence.DEFAULT_EOL + "c\n", FSMergerBySequence.CONFLICTED); testDirect("a\nb", "a\nx", "a\ny", "a\n>" + FSMergerBySequence.DEFAULT_EOL + "x=" + FSMergerBySequence.DEFAULT_EOL + "y<" + FSMergerBySequence.DEFAULT_EOL, FSMergerBySequence.CONFLICTED); testDirect("a", "a\nx", "a\ny", ">" + FSMergerBySequence.DEFAULT_EOL + "a\nx=" + FSMergerBySequence.DEFAULT_EOL + "a\ny<" + FSMergerBySequence.DEFAULT_EOL, FSMergerBySequence.CONFLICTED); testDirect("a", "a\nx\n", "a\ny\n", ">" + FSMergerBySequence.DEFAULT_EOL + "a\nx\n=" + FSMergerBySequence.DEFAULT_EOL + "a\ny\n<" + FSMergerBySequence.DEFAULT_EOL, FSMergerBySequence.CONFLICTED);
	public void testEOLEdgeCases() throws IOException {		testDirect("a\n", "a\nb\n", "a\nb\n", "a\nb\n", "\n", FSMergerBySequence.NOT_MODIFIED);		testDirect("a", "a\nb\n", "a\nb\n", "a\nb\n", "\n", FSMergerBySequence.NOT_MODIFIED);		testDirect("a\nb\nc\n", "a\nx\nc\n", "a\ny\nc\n", "a\n>\nx\n=\ny\n<\nc\n", "\n", FSMergerBySequence.CONFLICTED);		testDirect("a\nb", "a\nx", "a\ny", "a\n>\nx=\ny<\n", "\n", FSMergerBySequence.CONFLICTED);		testDirect("a", "a\nx", "a\ny", ">\na\nx=\na\ny<\n", "\n", FSMergerBySequence.CONFLICTED);		testDirect("a", "a\nx\n", "a\ny\n", ">\na\nx\n=\na\ny\n<\n", "\n", FSMergerBySequence.CONFLICTED);	}