Files
Senbei/tests/common/mod.rs
T
2026-08-09 00:08:31 +08:00

11 lines
327 B
Rust

//! Shared test fixtures.
#![allow(dead_code)]
use std::path::PathBuf;
/// Path to `senbei/samples` — the user-managed corpus dropped in by hand.
/// Git-ignored except its README; tests here run against whatever is present.
pub fn samples_dir() -> PathBuf {
PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("samples")
}