public void TestClassWithDoubleId() { _collection.RemoveAll(); var doc = new ClassWithDoubleId { Id = 0.0, X = 1 }; _collection.Insert(doc); doc = new ClassWithDoubleId { Id = 1.0, X = 1 }; _collection.Insert(doc); }