public void LegendRankB() { var bmp = new Bitmap("RankedDetection/TestFiles/LegendB.png"); Assert.AreEqual(0, RankDetection.FindBest(bmp)); }
// Helper Methods private bool RankIsCorrect(int rank) { var bmp = new Bitmap("RankedDetection/TestFiles/" + rank + ".png"); return(rank == RankDetection.FindBest(bmp)); }