コード例 #1
0
        public void SEQImporterImage()
        {
            i = new ModeSequentiel();
            string fileName = "pikachu.png";
            string rootPath = new DirectoryInfo(Environment.CurrentDirectory).Parent.Parent.FullName;
            string path     = Path.Combine(rootPath, @"assets\", fileName);
            int    img      = i.CreerImage(100, 100, path);

            i.DimensionnerForme(img, .5f);
            Assert.IsTrue(img > 0);
            i.Afficher(displayTime);
        }