예제 #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);
     }
 }
예제 #2
0
 public Friend(IRace race, AIProvider ai, AIProvider healAI)
     : base(race, ai, DefaultLifes)
 {
     this.HealAI = healAI;
     this.NormalAI = ai;
 }
예제 #3
0
 protected AIPlayer(IRace race, AIProvider ai, int DefaultLifes)
     : base(DefaultLifes, race)
 {
     this.AI = ai;
     this.AI.Character = this;
 }
예제 #4
0
 public Enemy(IRace race, AIProvider ai)
     : base(race, ai, AppSettings.DefaultLifes)
 {
 }