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

LogParse_Regex_incomingdamage3_nodamage() private method

private LogParse_Regex_incomingdamage3_nodamage ( ) : void
return void
        public void LogParse_Regex_incomingdamage3_nodamage()
        {
            string testLine = "Sochon Gamyung's Stone Shield inflicted Stun.";

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

            Assert.IsTrue(m.Groups["actor"].Success && m.Groups["actor"].Value == "Sochon Gamyung");
            Assert.IsTrue(m.Groups["skill"].Success && m.Groups["skill"].Value == "Stone Shield");
            Assert.IsFalse(m.Groups["damage"].Success);
            Assert.IsTrue(m.Groups["debuff"].Success && m.Groups["debuff"].Value == "Stun");
            Assert.IsFalse(m.Groups["target"].Success);
        }