memgraph/tests/unit
Aidar Samerkhanov c772cab766
ToString function now returns double values with precision 15 (#1576)
The DoubleToString function has been updated to handle higher precision doubles correctly. The unnecessary string length restriction has been removed, allowing the function to convert the full double value without prematurely truncating it. This change ensures that the string representation of doubles is more accurate, especially for very large or very small numbers. Unit tests have been added to verify the correct behavior for a range of double values.
2024-01-12 12:32:34 +04:00
..
auth_checker.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
auth_handler.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
auth.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
bfs_common.hpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
bfs_fine_grained.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
bfs_single_node.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
bolt_chunked_decoder_buffer.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
bolt_chunked_encoder_buffer.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
bolt_common.hpp Fix handling of the ROUTE Bolt message (#475) 2022-08-26 13:19:27 +02:00
bolt_decoder.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
bolt_encoder.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
bolt_session.cpp Refactor interpreter to support multiple distributed clocks (Part 1) (#1281) 2023-10-05 16:58:39 +02:00
bolt_testdata.hpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
clearing_old_disk_data.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
CMakeLists.txt Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
commit_log_v2.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
communication_buffer.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
cpp_api.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
csv_csv_parsing.cpp Add HTTP+GZIP support to LOAD CSV (#1027) 2023-06-26 19:10:48 +02:00
cypher_main_visitor.cpp Add query parameters support for labels (#1602) 2024-01-10 15:08:21 +01:00
database_get_info.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
dbms_database.cpp Replication refactor (part 5) (#1378) 2023-11-06 11:50:49 +00:00
dbms_handler_community.cpp Cleanup filesystem after unittest (#1581) 2023-12-13 13:19:01 +00:00
dbms_handler.cpp Cleanup filesystem after unittest (#1581) 2023-12-13 13:19:01 +00:00
disk_test_utils.hpp Add experimental/v1 of ON_DISK_TRANSACTIONAL storage (#850) 2023-06-29 11:44:55 +02:00
distributed_lamport_clock.cpp Refactor interpreter to support multiple distributed clocks (Part 1) (#1281) 2023-10-05 16:58:39 +02:00
formatters.hpp Implement short circuiting of exists evaluation (#1539) 2023-11-27 16:44:12 +01:00
integrations_kafka_consumer.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
interpreter_faker.hpp Refactor interpreter to support multiple distributed clocks (Part 1) (#1281) 2023-10-05 16:58:39 +02:00
interpreter.cpp Cleanup filesystem after unittest (#1581) 2023-12-13 13:19:01 +00:00
kafka_mock.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
kafka_mock.hpp Add license to cpp/hpp/py test files (#283) 2021-10-26 08:53:56 +02:00
kvstore.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
license.cpp Add multiple license support (#618) 2022-11-04 15:23:43 +01:00
lru_cache.cpp Fix cached plan not getting invalidated (#1348) 2023-11-07 13:34:03 +01:00
main.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
metrics.cpp Add license to cpp/hpp/py test files (#283) 2021-10-26 08:53:56 +02:00
mgp_kafka_c_api.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
mgp_trans_c_api.cpp Making mgp_error enum class when compiling c++. Remains enum when com… (#389) 2022-05-05 17:48:17 +02:00
monitoring.cpp Fix WebSocket test (#485) 2022-08-08 14:49:48 +02:00
network_endpoint.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
network_timeouts.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
network_utils.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
plan_pretty_print.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
property_value_v2.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
query_common.hpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
query_cost_estimator.cpp Fix index hints (#1606) 2024-01-11 10:10:06 +01:00
query_dump.cpp Add support for triggers in database dump (#1610) 2024-01-09 13:05:54 +01:00
query_expression_evaluator.cpp ToString function now returns double values with precision 15 (#1576) 2024-01-12 12:32:34 +04:00
query_function_mgp_module.cpp Making mgp_error enum class when compiling c++. Remains enum when com… (#389) 2022-05-05 17:48:17 +02:00
query_hint_provider.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
query_plan_accumulate_aggregate.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
query_plan_bag_semantics.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
query_plan_checker.hpp Implement short circuiting of exists evaluation (#1539) 2023-11-27 16:44:12 +01:00
query_plan_common.hpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
query_plan_create_set_remove_delete.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
query_plan_edge_cases.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
query_plan_match_filter_return.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
query_plan_operator_to_string.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
query_plan_read_write_typecheck.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
query_plan_v2_create_set_remove_delete.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
query_plan.cpp Implement short circuiting of exists evaluation (#1539) 2023-11-27 16:44:12 +01:00
query_pretty_print.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
query_procedure_mgp_module.cpp Making mgp_error enum class when compiling c++. Remains enum when com… (#389) 2022-05-05 17:48:17 +02:00
query_procedure_mgp_type.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
query_procedure_py_module.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
query_procedures_mgp_graph.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
query_profile.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
query_required_privileges.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
query_semantic.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
query_serialization_property_value.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
query_streams.cpp Replication refactor (part 5) (#1378) 2023-11-06 11:50:49 +00:00
query_trigger.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
query_variable_start_planner.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
replication_persistence_helper.cpp Replication refactor (part 5) (#1378) 2023-11-06 11:50:49 +00:00
ring_buffer.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
rpc_messages.hpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
rpc.cpp Refactor replication, part 3 (#1177) 2023-08-25 10:52:07 +01:00
skip_list.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
slk_advanced.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
slk_common.hpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
slk_core.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
slk_streams.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
small_vector.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
socket.cpp Speedup socket unit test (#1444) 2023-11-01 17:24:24 +00:00
storage_rocks.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
storage_test_utils.cpp Add experimental/v1 of ON_DISK_TRANSACTIONAL storage (#850) 2023-06-29 11:44:55 +02:00
storage_test_utils.hpp Include additional info inside storage mode info query (#883) 2023-05-16 14:25:41 +02:00
storage_v2_constraints.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
storage_v2_decoder_encoder.cpp Refactor interpreter to support multiple distributed clocks (Part 1) (#1281) 2023-10-05 16:58:39 +02:00
storage_v2_disk.cpp Add experimental/v1 of ON_DISK_TRANSACTIONAL storage (#850) 2023-06-29 11:44:55 +02:00
storage_v2_durability_inmemory.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
storage_v2_edge_inmemory.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
storage_v2_edge_ondisk.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
storage_v2_gc.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
storage_v2_get_info.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
storage_v2_indices.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
storage_v2_isolation_level.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
storage_v2_name_id_mapper.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
storage_v2_property_store.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
storage_v2_replication.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
storage_v2_show_storage_info.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
storage_v2_storage_mode.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
storage_v2_wal_file.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
storage_v2.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
stripped.cpp Add support for map projection (#892) 2023-05-16 20:05:35 +02:00
test_lcp.lisp LCP: Small test fixes 2019-05-10 16:10:17 +02:00
test_utils.hpp Making mgp_error enum class when compiling c++. Remains enum when com… (#389) 2022-05-05 17:48:17 +02:00
transaction_queue_multiple.cpp Replication refactor (part 5) (#1378) 2023-11-06 11:50:49 +00:00
transaction_queue.cpp Replication refactor (part 5) (#1378) 2023-11-06 11:50:49 +00:00
typed_value.cpp Fix REPLICA timestamps (#1615) 2024-01-05 16:42:54 +00:00
utils_algorithm.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_async_timer.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
utils_exceptions.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_file_locker.cpp Add data directory status and (un)lock query (#933) 2023-05-16 18:36:04 +02:00
utils_file.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
utils_histogram.cpp Expose system metrics over HTTP Endpoint (#940) 2023-05-18 05:10:57 +00:00
utils_java_string_formatter.cpp Add GraphQL transpilation compatibility (#1018) 2023-07-31 14:48:12 +02:00
utils_math.cpp Add index statistics for better query planning (#812) 2023-03-30 15:34:34 +02:00
utils_memory_tracker.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
utils_memory.cpp Add v5 toolchain (#608) 2023-10-16 19:01:39 +02:00
utils_on_scope_exit.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_resource_lock.cpp Refactor interpreter to support multiple distributed clocks (Part 1) (#1281) 2023-10-05 16:58:39 +02:00
utils_rwlock.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_scheduler.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_settings.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_signals.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_string.cpp ToString function now returns double values with precision 15 (#1576) 2024-01-12 12:32:34 +04:00
utils_synchronized.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_temporal.cpp Support creating date and localtime from localdatetime (#1381) 2023-11-03 10:54:01 +01:00
utils_thread_pool.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
utils_timestamp.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00