Beispiel #1
0
        public void ProgramDescription_GetHashCode_ProducesExpectedHashCode()
        {
            var crc         = 0x82736455u;
            var information = new TestProgramInformation();

            information.AddCrc(crc);
            var description = new ProgramDescription(crc, null, information);

            var expectedHashCode = crc.GetHashCode();

            Assert.Equal(expectedHashCode, description.GetHashCode());
        }