//! Shared helpers for the `velesdb-memory` integration tests.
//!
//! Uses the deterministic, network-free `HashEmbedder` so every suite is fully
//! reproducible and air-gapped (mirrors the repo's `fake_embed` examples).
// Each test binary uses a different subset of these helpers.
use Value;
use TempDir;
use ;
/// Embedding dimension matching the SDK's `DEFAULT_DIMENSION`.
pub const DIM: usize = 384;
/// Open a fresh, isolated memory service backed by a tempdir.
///
/// The returned [`TempDir`] must be kept alive for the duration of the test.
/// Build a [`Metadata`] map from key/value pairs.