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:
f1cf80b
)
jstest: lower: implement a test
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 9 Jul 2021 17:59:29 +0000
(18:59 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 9 Jul 2021 17:59:29 +0000
(18:59 +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 5a9548bef8395f5af7ed1eb2d1ff631ac6e78cf4..856308c316a0facf7277e0e40ff0d1572dade9f0 100644
(file)
--- 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