Esempio n. 1
0
        public void Uuid128As128()
        {
            ServiceElement element = new ServiceElement(ElementType.Uuid128, CreateBluetoothBasedUuid(0x1105));

            Assert.AreEqual(ElementTypeDescriptor.Uuid, element.ElementTypeDescriptor);
            Assert.AreEqual(ElementType.Uuid128, element.ElementType);
            //Assert.IsInstanceOfType(typeof(Guid), element.Value);
            Guid expected = CreateBluetoothBasedUuid(0x1105);

            Assert.AreEqual(expected, element.GetValueAsUuid());
        }