Skip to main content

pixelflow_test_support/
lib.rs

1#![warn(missing_docs)]
2
3//! Deterministic test helpers for PixelFlow filters, plugins, and embedders.
4//!
5//! Helpers here avoid external media files by constructing frames and graph
6//! sources fully in memory.
7
8mod assertions;
9mod clips;
10mod frames;
11mod scheduler_trace;
12
13pub use assertions::{
14    EXACT_GOLDEN_TOLERANCE, GoldenTolerance, assert_frame_f32_near, assert_frame_u8_near,
15    assert_frame_u16_near, assert_plane_f32_near, assert_plane_u8_near, assert_plane_u16_near,
16};
17pub use clips::{SyntheticClip, synthetic_clip_from_frames};
18pub use frames::{fixed_media, synthetic_f32_frame, synthetic_u8_frame, synthetic_u16_frame};
19pub use scheduler_trace::{
20    TraceEvent, TraceEventKind, TraceGate, TracePassthroughFilter, TraceRecorder, TraceSource,
21};