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

nordisk/korp-map

crates/korp-map-build-thing/tests/bijection_laws.rs

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

use korp_map_build_thing::KorpMapBuildThing;
use nornir_build_thing::laws;

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