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

LogParse_Regex_heal_simple() private method

private LogParse_Regex_heal_simple ( ) : void
return void
        public void LogParse_Regex_heal_simple()
        {
            string testLine = "PLAYERNAME recovered 813 HP with Doom 'n' Bloom.";

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

            Assert.IsTrue(m.Groups["target"].Success && m.Groups["target"].Value == "PLAYERNAME");
            Assert.IsTrue(m.Groups["HPAmount"].Success && m.Groups["HPAmount"].Value == "813");
            Assert.IsFalse(m.Groups["FocusAmount"].Success);
            Assert.IsTrue(m.Groups["skill"].Success && m.Groups["skill"].Value == "Doom 'n' Bloom");
        }