chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7f5e51
)
jstest: lower: implement a test
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 9 Jul 2021 18:01:34 +0000
(19:01 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 9 Jul 2021 18:01:34 +0000
(19:01 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
jstest/jst-lower.rs
patch
|
blob
|
history
diff --git
a/jstest/jst-lower.rs
b/jstest/jst-lower.rs
index cf8072b2c3f0a84f2f597040aadfbb2fc9ef6355..dabaa677fd312a78d53954849f3f236b0f72138c 100644
(file)
--- a/
jstest/jst-lower.rs
+++ b/
jstest/jst-lower.rs
@@
-161,6
+161,14
@@
impl Test {
}
// z coords (at least of bottom) in updates all decrease
+ {
+ for n in &new {
+ if n.bottom && n.updated {
+ assert!( n.new_z < n.old_z, "{:?}", &n );
+ }
+ }
+ }
+
// all targets now below all non-bottom non-targets
// xxx ^ unimplemented checks
}