예제 #1
0
        public void TurnMoreTime()
        {
            var shape = new TetriminoO();

            Call.Action(4, () => shape.Turn());
            Check.That(shape).IsEquivalentTo((1, 1), (1, 2), (2, 1), (2, 2));
        }
예제 #2
0
        public void TurnOneTime(int start, FakeShape expected)
        {
            var shape = new TetriminoO(start);

            shape.Turn();
            Check.That(shape).IsEquivalentTo(expected);
        }