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