public void MoveRight(int actionCount, int col1, int col2, int col3, int col4) { var shape = new TetriminoT(); Call.Action(actionCount, () => shape.MoveRight()); Check.That(shape).IsEquivalentTo((1, col1), (1, col2), (1, col3), (2, col4)); }
public void TurnCorrectlyWhenReachedRightSideInVerticalLeftPosition() { var shape = new TetriminoT(9); shape.Turn(); Call.Action(5, () => shape.MoveRight()); shape.Turn(); Check.That(shape).IsEquivalentTo((2, 12), (2, 11), (2, 10), (1, 11)); }