I implemented the focused cells changing color, still a lots of work :)
[puzzles.git] / test / com / github / puzzles / test / FlipPuzzleTest.java
blob1e0edcd1eac9ca5d675b0ecb1ec5bff7bdf686cf
1 package com.github.puzzles.test;
3 import static org.junit.Assert.fail;
5 import org.junit.Test;
7 import com.github.puzzles.core.Difficulty;
8 import com.github.puzzles.core.FlippingPuzzle;
9 import com.github.puzzles.core.PersonalisedDifficultyException;
11 public class FlipPuzzleTest {
13 @Test
14 public void testCheck() {
15 FlippingPuzzle fp = new FlippingPuzzle(Difficulty.MEDUIM);
16 fp.flip(3, 4);
19 @Test
20 public void testFlipPuzzleBooleanArrayArray() {
21 fail("Not yet implemented");
24 @Test
25 public void testFlipPuzzleIntInt() {
26 fail("Not yet implemented");
29 @Test(expected = PersonalisedDifficultyException.class)
30 public void testFlipPuzzleDifficulty() {
31 new FlippingPuzzle(Difficulty.PERSONALISED);
34 @Test
35 public void testFlip() {
36 fail("Not yet implemented");
39 @Test
40 public void getPuzzle() {
44 @Test
45 public void willFlipTest(){
46 FlippingPuzzle fp = new FlippingPuzzle(5, 5);
47 fp.flip(2, 2);
48 for(Boolean bool : fp.getWillFlip(2, 2))
49 System.out.println(bool);