예제 #1
0
 public void TakeRandomConstructorTest()
 {
     uint max_ = 10; 
     uint prime_ = 11;
     try
     {
     	TakeRandom target = new TakeRandom(max_, prime_);
     }
     catch (System.Exception)
     {
         Assert.Fail("Two constructor parameters failed");
     }
 }
예제 #2
0
 public void TakeRandomConstructorTest1()
 {
     uint max_ = 30; // TODO: Initialize to an appropriate value
     TakeRandom target = new TakeRandom(max_);
     Assert.IsTrue(target.Prime > max_);
 }