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:
fa8608b
)
at-otter hidden: Check that things are where we expect
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 13 Mar 2021 20:37:16 +0000
(20:37 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 13 Mar 2021 20:37:49 +0000
(20:37 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
apitest/at-otter.rs
patch
|
blob
|
history
diff --git
a/apitest/at-otter.rs
b/apitest/at-otter.rs
index 12fbf507ffdf7311cee5bbe110228c53f1d3eab1..b59095c3e678cb1bc1c52df124e0670ff0d1aab8 100644
(file)
--- a/
apitest/at-otter.rs
+++ b/
apitest/at-otter.rs
@@
-520,6
+520,9
@@
impl Ctx {
alice.synchu(&mut a_pieces)?;
bob.synchu(&mut b_pieces)?;
+ assert_eq!(b_pieces[b_pawns[1]].pos,
+ a_pieces[a_pawns[0]].pos);
+
// to repro a bug, have Alice move the black pawn out again
// observe yellow highlight in bob's view and black pawn is in wrong