Ejemplo n.º 1
0
        public void CheckValidHexNumberByteShould()
        {
            string expectedHexNumber = "1D";
            bool   result            = _sendMessagePartialMock.CheckValidHexNumberByte(expectedHexNumber);

            Assert.AreEqual(true, result);

            expectedHexNumber = "MS";
            result            = _sendMessagePartialMock.CheckValidHexNumberByte(expectedHexNumber);

            Assert.AreEqual(false, result);
        }