From: Ian Jackson Date: Thu, 11 Mar 2021 18:35:14 +0000 (+0000) Subject: at-otter hidden: Put test pawns to RHS of hand X-Git-Tag: otter-0.4.0~154 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=2058ffbef0f9b40a8554638cb745059ea9344bf7;p=otter.git at-otter hidden: Put test pawns to RHS of hand So we can easily check they're displaced. Signed-off-by: Ian Jackson --- diff --git a/apitest/at-otter.rs b/apitest/at-otter.rs index 9ed9d346..fb7eee70 100644 --- 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,-10].iter()) { + for (pawn, &xoffset) in izip!(&pawns, [10,20].iter()) { session.api_with_piece_op(&self.su, &pawn.id, "m", json![ (hand.pos + PosC([xoffset, 0]))?.0 ])?;