Esempio n. 1
0
 public void TestAllPossibleValues_i()
 {   
     Byte packed = Byte.MinValue;
     while ( packed < Byte.MaxValue )
     {
         ++packed;
         var packedObj = new Alpha_8();
         packedObj.PackedValue = packed;
         Single unpacked;
         packedObj.UnpackTo(out unpacked);
         var newPackedObj = new Alpha_8(unpacked);
         Assert.That(newPackedObj.PackedValue, Is.EqualTo(packed));
     }
 }