Пример #1
0
        public void Test_FourCharacterCode_ToInt32()
        {
            FourCharacterCode fcc = new FourCharacterCode("ABCD");
            int value             = fcc.ToInt32();

            Assert.AreEqual(0x41424344, value);
        }
Пример #2
0
        public void Test_FourCharacterCode_ToInt32()
        {
            var fcc = new FourCharacterCode("ABCD");

            fcc.ToInt32().Should().Be(0x41424344);
        }