コード例 #1
0
        public void Test___Method_Check___Equals___Generic()
        {
            var testee = new GreaterThanCondition <int>()
            {
                Value1 = new AnyVariable <int>()
                {
                    Value = 20
                },
                Value2 = new AnyVariable <int>()
                {
                    Value = 20
                }
            };

            Assert.IsFalse(testee.Check());
        }
コード例 #2
0
        public void Test___Method_Check___Less()
        {
            var testee = new GreaterThanCondition()
            {
                Value1 = new AnyVariable()
                {
                    Value = 10
                },
                Value2 = new AnyVariable()
                {
                    Value = 20
                }
            };

            Assert.IsFalse(testee.Check());
        }