public OrderedSet <int> TestOrderedSet() { OrderedSet <int> keep = new OrderedSet <int>(count); for (int i = 0; i < count; ++i) { keep.Add(i); } for (int i = 0; i < count; ++i) { keep.AddBefore(i, ~i); } return(keep); }