def test_long_double_numeric_values_edge_case(self):
        """We test some edge cases here for clarity"""
        test_case = [
            ({"_id": "1", "float_field_1": 1e-50},
             {"_id": "1", "float_field_1": 0},
             "small positive float will be rounded to 0"),
            ({"_id": "2", "float_field_1": -1e-50},
             {"_id": "2", "float_field_1": 0},
             "small negative float will be rounded to 0"),
        ]

        for doc, expected_doc, msg in test_case:
            with self.subTest(msg):
                res = self.add_documents(
                    config=self.config, add_docs_params=AddDocsParams(
                        index_name=self.index_name_1, docs=[doc], device="cpu",
                    )
                ).dict(exclude_none=True, by_alias=True)
                self.assertFalse(res['errors'])
                document_id = doc["_id"]
                returned_doc = tensor_search.get_document_by_id(
                    config=self.config, index_name=self.index_name_1, document_id=document_id, show_vectors=False
                )
                self.assertEqual(expected_doc, returned_doc)
We test some edge cases here for clarity
tests/integ_tests/tensor_search/integ_tests/test_add_documents_structured.py