コード例 #1
0
 public void Adler32_2()
 {
     Assert.AreEqual(UInt32.Parse("36E81466", System.Globalization.NumberStyles.HexNumber),
                     Adler32.ForEncodedString("This is an example of a much longer string of characters", System.Text.Encoding.ASCII));
 }
コード例 #2
0
 public void Adler32_1()
 {
     Assert.AreEqual(UInt32.Parse("1BE9043A", System.Globalization.NumberStyles.HexNumber),
                     Adler32.ForEncodedString("Hello Dolly!", System.Text.Encoding.ASCII));
 }