public void HLockedCubeRotationTest() { var cube = new CubeModel(front: Colour.Red, back: Colour.White, left: Colour.White, right: Colour.White, top: Colour.White, bottom: Colour.White); cube.Lock(MoveInput.SwipeLeft, MoveInput.SwipeRight); cube.Update(MoveInput.SwipeLeft); Assert.IsTrue(IsShowing(cube, Colour.Red)); cube.Update(MoveInput.SwipeRight); Assert.IsTrue(IsShowing(cube, Colour.Red)); cube.UnLock(MoveInput.SwipeLeft); cube.Update(MoveInput.SwipeLeft); Assert.IsTrue(IsShowing(cube, Colour.White)); }