public void MinIdGeneratorTest() { var minIdGenerator = new MinIdGenerator(); for (int i = 0; i < MinIdGenerator.Chars0.Length; i++) Assert.AreEqual(MinIdGenerator.Chars0[i].ToString(), minIdGenerator.Next()); for (int i = 0; i < MinIdGenerator.CharsN.Length; i++) Assert.AreEqual(MinIdGenerator.Chars0[0].ToString() + MinIdGenerator.CharsN[i], minIdGenerator.Next()); }
public void MinIdGeneratorTest() { var minIdGenerator = new MinIdGenerator(); for (int i = 0; i < MinIdGenerator.Chars0.Length; i++) { Assert.AreEqual(MinIdGenerator.Chars0[i].ToString(), minIdGenerator.Next()); } for (int i = 0; i < MinIdGenerator.CharsN.Length; i++) { Assert.AreEqual(MinIdGenerator.Chars0[0].ToString() + MinIdGenerator.CharsN[i], minIdGenerator.Next()); } }