示例#1
0
 public virtual void testUniqueID()
 {
     // Java to C# Conversion, Test taking too long, reduce count from original 200,000 for now
     SupportClass.HashSetSupport m = new SupportClass.HashSetSupport();
     for (int i = 0; i < 1000; i++)
     {
         string s = JDFElement.uniqueID(0);
         if (m.Contains(s))
         {
             Assert.Fail("oops");
         }
         m.Add(s);
     }
 }