public BadRandomGeneratorTest()
 {
     _sut = new BadRandomGenerator();
 }
Exemplo n.º 2
0
 public static int addRandomNumberWithBoundries(int a, int b, BadRandomGenerator random)
 {
     return(a + random.GenerateRandomIntWithBoundaries(b));
 }
Exemplo n.º 3
0
 public static void addAndModifyRandom(int a, int b, BadRandomGenerator random)
 {
     random.ModifyB(a + b);
 }
Exemplo n.º 4
0
 public static int addRandomNumber(int a, BadRandomGenerator random)
 {
     return(a + random.GenerateRandomInt());
 }