示例#1
0
        public void SanitizerTestResolveSimpleCompoundStat()
        {
            string expression = "10+STR/4";
            double expected   = 10 + MockPlayer.GetProperty("STR").Value / 4;
            double actual     = SanitizerInstance.SanitizeCompoundStat(MockPlayer, expression);

            Assert.AreEqual(expected, actual);
        }