Example #1
0
 public void TestRandomInvalidSize(int size)
 {
     Assert.Throws <ArgumentOutOfRangeException>(() => RandomList.Random(size));
 }
Example #2
0
 public void TestRandomSize(int size)
 {
     this.list = RandomList.Random(size);
     Assert.AreEqual(size, this.list.Count);
 }
Example #3
0
 public void TestRandomValidSize(int size)
 {
     Assert.DoesNotThrow(() => RandomList.Random(size));
 }