Exemple #1
0
 public void GetPageText()
 {
     try
     {
         MattmahoneyHomePage mattmahoneyHomePage = new MattmahoneyHomePage(_webDriver);
         mattmahoneyHomePage.CenterTestImage();
         _webDriver.TakeScreenshot("Tesseract_test");
         text = AIProvider.GetTextFromImage($"{GenericUtils.GetScreenShotsDirectory()}//Tesseract_test.bmp");
         Console.WriteLine("asd");
     }
     catch (Exception ex)
     {
         AssertionProvider.FailTest(ex.Message);
     }
 }
Exemple #2
0
 public Friend(IRace race, AIProvider ai, AIProvider healAI)
     : base(race, ai, DefaultLifes)
 {
     this.HealAI = healAI;
     this.NormalAI = ai;
 }
Exemple #3
0
 protected AIPlayer(IRace race, AIProvider ai, int DefaultLifes)
     : base(DefaultLifes, race)
 {
     this.AI = ai;
     this.AI.Character = this;
 }
Exemple #4
0
 public Enemy(IRace race, AIProvider ai)
     : base(race, ai, AppSettings.DefaultLifes)
 {
 }