Your browser sucks, JavaScript disabled! Gunnar's console needs JavaScript and WebAssembly. Git over SSH on port 2222 does not.

mikronova/draupnir

crates/draupnir-build-thing/tests/bijection_laws.rs

//! The bijection laws (edda `nornir-build-thing::laws`) over draupnir's recipe:
//! declaration ↔ struct, rows ↔ tree, menu ↔ declaration, path ↔ flag — the same
//! guard gunnar's, korp's and tunnr's recipes run.

use nornir_build_thing::laws;
use draupnir_build_thing::DraupnirBuildThing;

#[test]
fn the_recipe_obeys_the_bijection_laws() {
    laws::assert_bijective(&DraupnirBuildThing);
}