public void Can_Roundtrip_CombGuid_DateTimeOffset()
        {
            var timestamp = DateTimeOffset.UtcNow;
            var comb      = CombGuidIdGeneration.Create(Guid.NewGuid(), timestamp);
            var roundtrip = CombGuidIdGeneration.GetTimestamp(comb);

            roundtrip.ToUnixTimeMilliseconds().ShouldBe(timestamp.ToUnixTimeMilliseconds());
        }
        public void generate_lots_of_guids()
        {
            var seed = Guid.NewGuid();

            var list = new List <Guid>();

            for (int i = 0; i < 20; i++)
            {
                list.Add(CombGuidIdGeneration.Create(seed, DateTime.UtcNow));
            }

            list.OrderBy(x => x).ShouldHaveTheSameElementsAs(list);
        }