示例#1
0
        public void BaseAssertFluentWithSyntaxHelperLt()
        {
            Int32 obj = 42;

            FluentAssert.That(obj, Is.LesserThan(43));
        }
示例#2
0
        public void BaseAssertFluentWithSyntaxHelperGt()
        {
            Int32 obj = 42;

            FluentAssert.That(obj, Is.GreaterThan(41));
        }
示例#3
0
        public void BaseAssertFluentWithSyntaxHelper()
        {
            Int32 obj = 42;

            FluentAssert.That(obj, Is.EqualsTo(42));
        }
示例#4
0
        public void BaseAssertFluent()
        {
            Int32 obj = 42;

            FluentAssert.That(obj, new EqualsConstraint(42));
        }
示例#5
0
        public void BaseAssertFluentWithSyntaxHelperLtOrGtNoWay()
        {
            Int32 obj = 150;

            FluentAssert.That(obj, Is.LesserThan(200).And.GreaterThan(100));
        }
示例#6
0
        public void BaseAssertFluentWithSyntaxHelperLtOrGtR()
        {
            Int32 obj = 400;

            FluentAssert.That(obj, Is.LesserThan(100).Or.GreaterThan(200));
        }