From 2058ffbef0f9b40a8554638cb745059ea9344bf7 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 11 Mar 2021 18:35:14 +0000 Subject: [PATCH] at-otter hidden: Put test pawns to RHS of hand So we can easily check they're displaced. Signed-off-by: Ian Jackson --- apitest/at-otter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ])?; -- 2.30.2