Ejemplo n.º 1
0
        public void Product_GetCompressImageTest()
        {
            ImageConverter converter       = new ImageConverter();
            var            sourceImageByte = (byte[])converter.ConvertTo(Resources.SourceImage, typeof(byte[]));

            var result = ExtensionProductMethods.GetCompressedImage(sourceImageByte);

            Assert.IsNotNull(result);
        }
Ejemplo n.º 2
0
        public void Product_GetSearchPropeprtiesProduct()
        {
            Product product = new Product();

            Assert.GreaterOrEqual(ExtensionProductMethods.GetProductSearchPropeprties(null).Count(), 0);
        }