From 7f56b52ae95b7f6aac3de13c040bd29b176871f8 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 9 Jul 2021 18:59:29 +0100 Subject: [PATCH] jstest: lower: implement a test Signed-off-by: Ian Jackson --- jstest/jst-lower.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/jstest/jst-lower.rs b/jstest/jst-lower.rs index 5a9548be..856308c3 100644 --- a/jstest/jst-lower.rs +++ b/jstest/jst-lower.rs @@ -152,6 +152,14 @@ impl Test { } // no non-bottom non-targets moved + { + for n in &new { + if n.target { continue } + if n.bottom { continue } + assert!( ! n.updated, "{:?}", n ); + } + } + // z coords (at least of bottom) in updates all decrease // all targets now below all non-bottom non-targets // xxx ^ unimplemented checks -- 2.30.2