mirror of
https://github.com/Momoko-Ayase/Senbei.git
synced 2026-09-19 03:57:59 -04:00
11 lines
327 B
Rust
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")
|
|
}
|