Function lattices::test::check_lattice_bimorphism

source ยท
pub fn check_lattice_bimorphism<LatA, LatB, Func>(
    func: Func,
    items_a: &[LatA],
    items_b: &[LatB],
)
where Func: LatticeBimorphism<LatA, LatB>, LatA: Merge<LatA> + Clone + PartialEq + Debug, LatB: Merge<LatB> + Clone + PartialEq + Debug, Func::Output: Merge<Func::Output> + Clone + PartialEq + Debug,
Expand description

Checks that the LatticeBimorphism is valid, i.e. that merge distributes over both arguments of it.