Beispiel #1
0
        public void UINT32_CanGetEncodingSize()
        {
            AMQType type = AMQType.UINT32;

            Assert.AreEqual(4, type.GetEncodingSize(1234443));
        }
Beispiel #2
0
        public void VOID_CanGetEncodingSize()
        {
            AMQType type = AMQType.VOID;

            Assert.AreEqual(0, type.GetEncodingSize(null));
        }
Beispiel #3
0
        public void BOOLEAN_CanGetEncodingSize()
        {
            AMQType type = AMQType.BOOLEAN;

            Assert.AreEqual(1, type.GetEncodingSize(true));
        }