コード例 #1
0
 public void CRCWONULLTestOffset()
 {
     Assert.AreEqual <uint>(0404551290, ar.CRCWONULL(0), "CRC32WONULL[0] was not set correctly.");
     Assert.AreEqual <uint>(0224527589, ar.CRCWONULL(1), "CRC32WONULL[1] was not set correctly.");
     Assert.AreEqual <uint>(0557159190, ar.CRCWONULL(2), "CRC32WONULL[2] was not set correctly.");
     Assert.AreEqual <uint>(0516255430, ar.CRCWONULL(3), "CRC32WONULL[3] was not set correctly.");
     Assert.AreEqual <uint>(0404551290, ar2.CRCWONULL(1), "CRC32WONULL[1](2) was not set correctly.");
 }
コード例 #2
0
 public void CRCWONULLTest()
 {
     Assert.AreEqual <uint>(0812984565, ar.CRCWONULL(2, 19), "CRC32WONULL[2][19] was not set correctly.");
     Assert.AreEqual <uint>(2390392664, ar.CRCWONULL(2, -2), "CRC32WONULL[2][-2] was not set correctly.");
 }