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

LogParse_Regex_heal_focus() 개인적인 메소드

private LogParse_Regex_heal_focus ( ) : void
리턴 void
        public void LogParse_Regex_heal_focus()
        {
            string testLine = "PLAYER NAME recovered 2 Focus from Grab.";

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

            Assert.IsTrue(m.Groups["target"].Success && m.Groups["target"].Value == "PLAYER NAME");
            Assert.IsFalse(m.Groups["HPAmount"].Success);
            Assert.IsTrue(m.Groups["FocusAmount"].Success && m.Groups["FocusAmount"].Value == "2");
            Assert.IsTrue(m.Groups["skill"].Success && m.Groups["skill"].Value == "Grab");
        }