示例#1
0
        public void SeedZero_GetNextCode_IncrementsByOneEachTime()
        {
            var gen = new SequentialCodeGenerator(0);

            gen.GetNextCode().ShouldBe(1UL);
            gen.GetNextCode().ShouldBe(2UL);
            gen.GetNextCode().ShouldBe(3UL);
        }
 public void SequentialGenerator() => _sequential.GetNextCode();