public void GetFightingStyleTest() { string text = "SOme guy is being bad man (clinching)."; FightingStyle expected = FightingStyle.Clinch; FightingStyle actual = WeblParser.GetFightingStyle(text, "SOme guy"); Assert.AreEqual(expected, actual); text = _clinchRound; Round rr = WeblParser.ParseWeblRound(text); Assert.AreEqual(FightingStyle.Clinch, rr.Fighter1Round.Tactics.Style); }
public void TestDQRound() { Round rr = WeblParser.ParseWeblRound(_dqRound); Assert.AreEqual(FightResultType.DQ, rr.ResultType); }
public void TestKORound() { Round rr = WeblParser.ParseWeblRound(_koRound); Assert.AreEqual(FightResultType.Knockout, rr.ResultType); }
public void TestTKORound() { Round rr = WeblParser.ParseWeblRound(_tkoRound); Assert.AreEqual(FightResultType.TKO, rr.ResultType); }
public void ParseWeblRoundTest() { Round rr = WeblParser.ParseWeblRound(_roundText); Debug.Print("Hey"); }