public void EquivalentToIntegerNotMatch() { BsonValue val1 = new BsonInt32(42); BsonValue val2 = new BsonInt32(-42); Assert.IsFalse(val1.EquivalentTo(val2)); }
public void EquivalentToInteger() { BsonValue val1 = new BsonInt32(42); BsonValue val2 = new BsonInt32(42); Assert.IsTrue(val1.EquivalentTo(val2)); }