Exemplo n.º 1
0
        public long SensitivityHelperValueLinearTests(long inputValue, int percentage)
        {
            var helper = new SensitivityHelper {
                Percentage = percentage, IsLinear = true
            };

            return(helper.ApplyRangeSensitivity(inputValue));
        }
Exemplo n.º 2
0
        public short SensitivityHelperValueTests(short inputValue, int percentage)
        {
            var helper = new SensitivityHelper {
                Percentage = percentage
            };

            return(helper.ApplyRangeSensitivity(inputValue));
        }
Exemplo n.º 3
0
        public long SensitivityHelperInitTests(long inputValue)
        {
            var helper = new SensitivityHelper();

            return(helper.ApplyRangeSensitivity(inputValue));
        }
Exemplo n.º 4
0
        public short SensitivityHelperInitTests(short inputValue)
        {
            var helper = new SensitivityHelper();

            return(helper.ApplyRangeSensitivity(inputValue));
        }