public void same_lines_but_different_indexes() {
CloneIndex cloneIndex = createIndex();
Block.Builder block = Block.builder()
.setResourceId("a")
.setLines(0, 1);
<BUG>List<Block> fileBlocks = Arrays.asList(
block.setBlockHash(new ByteArray("1".getBytes())).setIndexInFile(0).build(),</BUG>
block.setBlockHash(new ByteArray("2".getBytes())).setIndexInFile(1).build(),
<BUG>block.setBlockHash(new ByteArray("1".getBytes())).setIndexInFile(2).build());
List<CloneGroup> clones = detect(cloneIndex, fileBlocks);</BUG>
print(clones);

public void same_lines_but_different_indexes() {
CloneIndex cloneIndex = createIndex();
Block.Builder block = Block.builder()
.setResourceId("a")
.setLines(0, 1);
Block[] fileBlocks = new Block[] {
block.setBlockHash(new ByteArray("1".getBytes())).setIndexInFile(0).build(),
block.setBlockHash(new ByteArray("2".getBytes())).setIndexInFile(1).build(),
block.setBlockHash(new ByteArray("1".getBytes())).setIndexInFile(2).build()
};
List<CloneGroup> clones = detect(cloneIndex, fileBlocks);
print(clones);
