public void TestClassWithBsonDoubleId() { _collection.RemoveAll(); var doc = new ClassWithBsonDoubleId { Id = null, X = 1 }; _collection.Insert(doc); doc = new ClassWithBsonDoubleId { Id = new BsonDouble(0.0), X = 1 }; _collection.Insert(doc); doc = new ClassWithBsonDoubleId { Id = new BsonDouble(1.0), X = 1 }; _collection.Insert(doc); }