Parameters
- crc
Library/Library.Test/TestCrc64.cs
C# | Copy Code |
---|---|
Assert.AreEqual("0000000000000000", new Crc64().ToString()); Assert.AreEqual("0000000000100100", new Crc64(0x00100100).ToString()); Assert.AreEqual("FFFFFFFFF0100100", new Crc64(unchecked((int)0xF0100100)).ToString()); Assert.AreEqual("F010010011100110", new Crc64(unchecked((long)0xF010010011100110ul)).ToString()); |
VB.NET | Copy Code |
---|---|
Assert.AreEqual("0000000000000000", New Crc64().ToString()) Assert.AreEqual("0000000000100100", New Crc64(&H100100).ToString()) Assert.AreEqual("FFFFFFFFF0100100", New Crc64(DirectCast(&Hf0100100UI, Integer)).ToString()) Assert.AreEqual("F010010011100110", New Crc64(DirectCast(&Hf010010011100110UL, Long)).ToString()) |
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7