Esempio n. 1
0
        public void Generate_grows_success()
        {
            var      g           = new EasyGenerator(10);
            IdResult oldIdResult = new IdResult();

            for (int i = 0; i < 5000000; i++)
            {
                IdResult newIdResult = g.GetIdResult();
                Assert.True(newIdResult.GenerateId() > oldIdResult.GenerateId(), $"{newIdResult}>{oldIdResult}???");
                oldIdResult = newIdResult;
            }
            ;
        }