示例#1
0
 public void GetRoundSnapshot()
 {
     for (int i = 0; i < 25; i++)
     {
         EncodingPlan result = instance.GetEncodingPlan(blockLength: 64);
         Assert.IsNotNull(result);
         Assert.IsTrue(result.WordSize >= BlockEncoder.MinWordSize && result.WordSize <= BlockEncoder.MaxWordSize);
         List <IWordEncoder> transformations = result.Transformations;
         Assert.IsTrue(transformations.Count > 0);
     }
 }