Accord.Tests.Imaging.ImageToArrayTest.ImageToArrayConstructorTest1 C# (CSharp) Метод

ImageToArrayConstructorTest1() приватный Метод

private ImageToArrayConstructorTest1 ( ) : void
Результат void
        public void ImageToArrayConstructorTest1()
        {
            double min = -10;
            double max = +10;
            int channel = 2;

            ImageToArray target = new ImageToArray(min, max, channel);

            Assert.AreEqual(min, target.Min);
            Assert.AreEqual(max, target.Max);
            Assert.AreEqual(channel, target.Channel);
        }