コード例 #1
0
        public void ResultNullTest()
        {
            var manager = new ArgumentsManager();
            var oper    = new ConstantMathOperator('t', manager);

            Assert.Throws <ScalarInvalidValue>(() => oper.Result());
        }
コード例 #2
0
        public void ResultTrueTest()
        {
            var manager = new ArgumentsManager();
            var oper    = new ConstantMathOperator('t', manager);

            oper.SetValue(true);
            Assert.True(oper.Result());
        }