public void TestDuplicateGrouping() { string relativePath1 = @"2016-06-28\00"; string relativePath2 = @"2016-07-29\01"; LatticeData data = new LatticeData(); data.AddTile(CreateTile(relativePath1, @"\00003", 20, 20, 20)); data.AddTile(CreateTile(relativePath1, @"\00004", 21, 20, 20)); data.AddTile(CreateTile(relativePath1, @"\00005", 22, 20, 20)); data.AddTile(CreateTile(relativePath2, @"\00112", 20, 20, 20)); data.AddTile(CreateTile(relativePath2, @"\00113", 21, 20, 20)); data.AddTile(CreateTile(relativePath2, @"\00114", 22, 20, 20)); data.AddTile(CreateTile(relativePath2, @"\00115", 23, 20, 20)); data.AddTile(CreateTile(relativePath2, @"\00123", 21, 20, 20)); data.AddTile(CreateTile(relativePath2, @"\00124", 22, 20, 20)); data.AddTile(CreateTile(relativePath2, @"\00125", 23, 20, 20)); var dg = data.DuplicatesAsRanges; }