BnS_ACT_Plugin.Test.LogParse_Regex.LogParse_Regex_evade_simple C# (CSharp) Method

LogParse_Regex_evade_simple() private method

private LogParse_Regex_evade_simple ( ) : void
return void
        public void LogParse_Regex_evade_simple()
        {
            string testLine = "PLAYER NAME evaded Scorching Arrow of the Hills.";

            Match m = BNS_ACT_Plugin.LogParse.regex_evade.Match(testLine);

            Assert.IsTrue(m.Groups["target"].Success && m.Groups["target"].Value == "PLAYER NAME");
            Assert.IsTrue(m.Groups["skill"].Success && m.Groups["skill"].Value == "Scorching Arrow of the Hills");
        }