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

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

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

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

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

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

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