示例#1
0
		public void Int()
		{
			var generator = new PKGenerator<int>();

			generator.Next().Should().Be(1);
			generator.Next().Should().Be(2);
			generator.Next().Should().Be(3);
		}
示例#2
0
		public void Long()
		{
			var generator = new PKGenerator<long>();

			generator.Next().Should().Be(1L);
			generator.Next().Should().Be(2L);
			generator.Next().Should().Be(3L);
		}