public void TestHashtableWithCustomComparer() { // see bug #324761 IDHashtable dd = new IDHashtable(); Random r = new Random(1000); for (int n = 0; n < 10000; n++) { int v = r.Next(0, 1000); dd [v] = v; v = r.Next(0, 1000); dd.Remove(v); } }
public void TestHashtableWithCustomComparer () { // see bug #324761 IDHashtable dd = new IDHashtable (); Random r = new Random (1000); for (int n = 0; n < 10000; n++) { int v = r.Next (0, 1000); dd [v] = v; v = r.Next (0, 1000); dd.Remove (v); } }