BnS_ACT_Plugin.Test.LogParse_Regex.LogParse_Regex_evade_simple C# (CSharp) 메소드

LogParse_Regex_evade_simple() 개인적인 메소드

private LogParse_Regex_evade_simple ( ) : void
리턴 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");
        }