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

nordisk/skade

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

//! The bijection laws (edda `nornir-build-thing::laws`) over skade'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 skade_build_thing::SkadeBuildThing;

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