コード例 #1
0
 public static void GetBytes_InvalidArgs_Base()
 {
     using (var rng = new RandomNumberGeneratorMininal())
     {
         Assert.Throws <NotImplementedException>(() => rng.GetNonZeroBytes(null));
         GetBytes_InvalidArgs_Helper(rng);
     }
 }
コード例 #2
0
 public static void GetBytes_InvalidArgs_Base()
 {
     using (var rng = new RandomNumberGeneratorMininal())
     {
         Assert.Throws<NotImplementedException>(() => rng.GetNonZeroBytes(null));
         GetBytes_InvalidArgs(rng);
     }
 }