Пример #1
0
        private void TestSetUdfType(string type)
        {
            // Setup
            var metadata = new UDFMetadata();

            // Act
            metadata.SetUDFType(type);

            // Assert
            Assert.AreEqual(type, metadata.GetEdmType());
        }
Пример #2
0
        private void TestGetEdmType(string type, UDFType udfType)
        {
            // Setup
            var metadata = new UDFMetadata { Type = udfType };

            // Act
            var result = metadata.GetEdmType();

            // Assert
            Assert.AreEqual(type, result);
        }