Exemple #1
0
 public static void TestCheckSumCRC_CCITT_Kermit()
 {
     Assert.Equal("96 D6", GetCRC.CRC_CCITT_Kermit(b).InverseHexString);
 }
Exemple #2
0
 public static void TestCheckSumCRC_CCITT_XModem()
 {
     Assert.Equal("33 CE", GetCRC.CRC_CCITT_XModem(b).InverseHexString);
 }
Exemple #3
0
 public static void TestCheckSumXOR()
 {
     Assert.Equal(33, GetCRC.XOR(b).IntegerCHK);
 }
Exemple #4
0
 public static void TestCheckSumMod256()
 {
     Assert.Equal(33, GetCRC.Mod256(b).IntegerCHK);
 }
Exemple #5
0
 public static void TestCheckSumSum()
 {
     Assert.Equal(193, GetCRC.Sum(b).IntegerCHK);
 }
Exemple #6
0
 public static void TestCheckSumRVInverseHEXString()
 {
     Assert.Equal("35 82 8E 1C", GetCRC.GetCRC32CheckSum(b).InverseHexString);
 }