Example #1
0
        public void Test___Method_Check___Equals___Generic()
        {
            var testee = new LessThanCondition <int>()
            {
                Value1 = new AnyVariable <int>()
                {
                    Value = 20
                },
                Value2 = new AnyVariable <int>()
                {
                    Value = 20
                }
            };

            Assert.IsFalse(testee.Check());
        }
Example #2
0
        public void Test___Method_Check___Less()
        {
            var testee = new LessThanCondition()
            {
                Value1 = new AnyVariable()
                {
                    Value = 10
                },
                Value2 = new AnyVariable()
                {
                    Value = 20
                }
            };

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