Algorithmix.UnitTest.HeuristicsTest.DetectBackgroundTest C# (CSharp) 메소드

DetectBackgroundTest() 개인적인 메소드

private DetectBackgroundTest ( ) : void
리턴 void
        public void DetectBackgroundTest()
        {
            var path1 = "PicassoUnitTest/DetectBackgroundTest/249-238-32.png";

            var filepath1 = Path.Combine(Drive.GetDriveRoot(), path1);
            Bitmap image1 = new Bitmap(filepath1);

            Bgr expectedBackGround = new Bgr(249, 238, 32);
            Bgr actualBackGround = Heuristics.DetectBackground(image1, 10);
            Assert.IsTrue(Utility.IsEqual(expectedBackGround, actualBackGround));
        }
HeuristicsTest