public void AllAutoTransitionIssuesFound(IPowerpoint power, int res)
        {
            Console.WriteLine(getFileDir("Presentation.pptx"));

            IIssueScanner scanner = IssueScannerFactory.GetIssueScanner(power);

            scanner.Scan();
            Dictionary <string, SlideModel> slides = (Dictionary <string, SlideModel>)power.slides;
            int count = 0;

            foreach (KeyValuePair <string, SlideModel> slide in slides)
            {
                slide.Value.Issues.ForEach(x => { if (x.GetType() == typeof(AutoTransitionIssue))
                                                  {
                                                      count++; Console.WriteLine(x.Description);
                                                  }
                                           });
            }

            Assert.AreEqual(res, count);
        }
 public void Setup()
 {
     powerpoint = PowerpointFactory.GetPowerpoint("C:\\Users\\conta\\OneDrive\\Desktop\\1045 Biology of mating, Juliana Rangel, 27 June 2019.pptx");
     scanner    = IssueScannerFactory.GetIssueScanner(powerpoint);
 }
 public void TearDown()
 {
     powerpoint = null;
     scanner    = null;
 }