public void IdentifySite() { var handText = SampleHandHistoryRepository.GetGeneralHandHistoryText(PokerFormat.CashGame, Site, "GeneralHand"); var IdentifiedSite = FileIdentifier.IdentifyHand(handText); Assert.AreEqual(Site, IdentifiedSite); }
public void IdentifySite2(int number) { switch (Site) { case SiteName.IPoker: break; default: Assert.Ignore(); break; } var handText = SampleHandHistoryRepository.GetHandExample(PokerFormat.CashGame, Site, "IdTest", "IdTest" + number); var IdentifiedSite = FileIdentifier.IdentifyHand(handText); Assert.AreEqual(Site, IdentifiedSite); }