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:
380a015
)
at-otter hidden: Put test pawns to RHS of hand
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 11 Mar 2021 18:35:14 +0000
(18:35 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 11 Mar 2021 19:07:58 +0000
(19:07 +0000)
So we can easily check they're displaced.
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 9ed9d346565785cc26b871924719693295c4f2be..fb7eee703566bd6f64fcc0cda0d08c9368ad4f1e 100644
(file)
--- a/
apitest/at-otter.rs
+++ b/
apitest/at-otter.rs
@@
-338,7
+338,7
@@
impl Ctx {
.into_inner().unwrap();
dbg!(&pawns);
- for (pawn, &xoffset) in izip!(&pawns, [
-20,-1
0].iter()) {
+ for (pawn, &xoffset) in izip!(&pawns, [
10,2
0].iter()) {
session.api_with_piece_op(&self.su, &pawn.id, "m", json![
(hand.pos + PosC([xoffset, 0]))?.0
])?;