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:
f72a95b
)
at-otter hidden: Move a pawn out of occultation
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 13 Mar 2021 18:35:16 +0000
(18:35 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 13 Mar 2021 19:58:07 +0000
(19:58 +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 f9f8dbfd8875dfc0caa785e0bfbadc04e319de1e..c1e188d66d7385414d4c4e19a33fe7c9712b0ef7 100644
(file)
--- a/
apitest/at-otter.rs
+++ b/
apitest/at-otter.rs
@@
-507,6
+507,15
@@
impl Ctx {
assert_eq!(got, None);
}
+ for (xi, &p) in a_pawns.iter().enumerate().take(1) {
+ alice.api_with_piece_op_synch(&a_pieces[p].id, "m", json![
+ [ (xi+1) * 15, 20 ]
+ ])?;
+ }
+
+ alice.synch()?;
+ bob.synchu(&mut b_pieces)?;
+
// to repro a bug, have Bob move the RHS pawn out again
self.su_mut().mgmt_conn.fakerng_unfake()?;