public void MoveLeft(int actionCount, int col1, int col2, int col3, int col4) { var shape = new TetriminoT(7); Call.Action(actionCount, () => shape.MoveLeft()); Check.That(shape).IsEquivalentTo((1, col1), (1, col2), (1, col3), (2, col4)); }
public void TurnCorrectlyWhenReachedLeftSideInVerticalRightPosition() { var shape = new TetriminoT(); Call.Action(3, () => shape.Turn()); Call.Action(2, () => shape.MoveLeft()); shape.Turn(); Check.That(shape).IsEquivalentTo((1, 1), (1, 2), (1, 3), (2, 2)); }