Exemple #1
0
        public void FID3()
        {
            var CNT = 0xffff * 2;

            for (var c = 0; c < 37; c++)
            {
                var set1 = new FID[CNT];
                var set2 = new FID[CNT];
                for (var i = 0; i < CNT; i++)
                {
                    set1[i] = FID.Generate();
                    set2[i] = FID.Generate();
                }

                Aver.IsFalse(set1.Intersect(set2).Any());
                "{0}: Set of {1} FIDs no intersection".SeeArgs(c, CNT);
            }
        }
Exemple #2
0
        public void FID3()
        {
            var CNT = 500000;

            for (var c = 0; c < 100; c++)
            {
                var set1 = new FID[CNT];
                var set2 = new FID[CNT];
                for (var i = 0; i < CNT; i++)
                {
                    set1[i] = FID.Generate();
                    set2[i] = FID.Generate();
                }

                Assert.IsFalse(set1.Intersect(set2).Any());
                Console.WriteLine("{0}: Set of {1} FIDs no intersection", c, CNT);
            }
        }
Exemple #3
0
        public void FID3()
        {
            var CNT = 500000;

            for(var c=0; c<100; c++)
            {
                var set1 = new FID[CNT];
                var set2 = new FID[CNT];
                for(var i=0; i<CNT; i++)
                {
                  set1[i] = FID.Generate();
                  set2[i] = FID.Generate();
                }

                Assert.IsFalse( set1.Intersect(set2).Any() );
                Console.WriteLine("{0}: Set of {1} FIDs no intersection", c, CNT);
            }
        }