1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright the Vortex contributors
//! Test harness for edition declarations.
//!
//! Each edition definition should call [`validate_edition`] once from its `#[cfg(test)]`
//! module, so every declared edition has a test proving its constraints hold.
use crateEditionError;
use crateEditionId;
use crateEditionSession;
/// Validate one edition's constraints: its identifier is well-formed, it is declared in the
/// given session, and the session's declarations as a whole validate (chronology, version
/// forms, membership constraints).
///
/// ```ignore
/// #[cfg(test)]
/// mod tests {
/// #[test]
/// fn edition_is_valid() -> Result<(), vortex_edition::EditionError> {
/// vortex_edition::test_harness::validate_edition(&edition_session(), &CORE_2026_01_0)
/// }
/// }
/// ```