GTE() public static method

Tests that the value of the named element is greater than or equal to some value (see $gte).
public static GTE ( string name, BsonValue value ) : QueryConditionList
name string The name of the element to test.
value BsonValue The value to compare to.
return QueryConditionList
        public void TestNewSyntax()
        {
            var query    = Query.GTE("x", 3).LTE(10);
            var expected = "{ \"x\" : { \"$gte\" : 3, \"$lte\" : 10 } }";

            Assert.AreEqual(expected, query.ToJson());
        }
        public void TestGreaterThanOrEqualAndLessThanOrEqual()
        {
            var query    = Query.GTE("k", 10).LTE(20);
            var expected = "{ \"k\" : { \"$gte\" : 10, \"$lte\" : 20 } }";

            Assert.AreEqual(expected, query.ToJson());
        }