orfjackal/tdd-tetris-tutorial — Issue #1: I_shape right rotation not correctly tested
Author: manurFR
Created: 2011-10-25 22:51:23+00:00
State: open

In [RotatingTetrominoesTest](https://github.com/orfjackal/tdd-tetris-tutorial/blob/tutorial/src/test/java/tetris/RotatingTetrominoesTest.java)/The_I_shape.can_be_rotated_right_once() on the tutorial branch, I think the expected String after right rotation should not be :

```java
assertEquals("" +
".....\n" +
"..I..\n" +
"..I..\n" +
"..I..\n" +
"..I..\n", shape.toString());
```

but :

```java
assertEquals("" +
"..I..\n" +
"..I..\n" +
"..I..\n" +
"..I..\n" +
".....\n", shape.toString());
```

I may be wrong, but in this case could you explain why ?

Also, in this same class there's a method including a "twise" instead of a "twice".

(And thanks a lot for this great tutorial !)