|
|
@@ -23,7 +23,7 @@ public final class HandshakeCalculatorTest {
|
|
23
|
23
|
handshakeCalculator.calculateHandshake(1));
|
|
24
|
24
|
}
|
|
25
|
25
|
|
|
26
|
|
- @Ignore
|
|
|
26
|
+ @Ignore("Remove to run test")
|
|
27
|
27
|
@Test
|
|
28
|
28
|
public void testThatInput2YieldsADoubleBlink() {
|
|
29
|
29
|
assertEquals(
|
|
|
@@ -31,7 +31,7 @@ public final class HandshakeCalculatorTest {
|
|
31
|
31
|
handshakeCalculator.calculateHandshake(2));
|
|
32
|
32
|
}
|
|
33
|
33
|
|
|
34
|
|
- @Ignore
|
|
|
34
|
+ @Ignore("Remove to run test")
|
|
35
|
35
|
@Test
|
|
36
|
36
|
public void testThatInput4YieldsACloseYourEyes() {
|
|
37
|
37
|
assertEquals(
|
|
|
@@ -39,7 +39,7 @@ public final class HandshakeCalculatorTest {
|
|
39
|
39
|
handshakeCalculator.calculateHandshake(4));
|
|
40
|
40
|
}
|
|
41
|
41
|
|
|
42
|
|
- @Ignore
|
|
|
42
|
+ @Ignore("Remove to run test")
|
|
43
|
43
|
@Test
|
|
44
|
44
|
public void testThatInput8YieldsAJump() {
|
|
45
|
45
|
assertEquals(
|
|
|
@@ -47,7 +47,7 @@ public final class HandshakeCalculatorTest {
|
|
47
|
47
|
handshakeCalculator.calculateHandshake(8));
|
|
48
|
48
|
}
|
|
49
|
49
|
|
|
50
|
|
- @Ignore
|
|
|
50
|
+ @Ignore("Remove to run test")
|
|
51
|
51
|
@Test
|
|
52
|
52
|
public void testAnInputThatYieldsTwoActions() {
|
|
53
|
53
|
assertEquals(
|
|
|
@@ -55,7 +55,7 @@ public final class HandshakeCalculatorTest {
|
|
55
|
55
|
handshakeCalculator.calculateHandshake(3));
|
|
56
|
56
|
}
|
|
57
|
57
|
|
|
58
|
|
- @Ignore
|
|
|
58
|
+ @Ignore("Remove to run test")
|
|
59
|
59
|
@Test
|
|
60
|
60
|
public void testAnInputThatYieldsTwoReversedActions() {
|
|
61
|
61
|
assertEquals(
|
|
|
@@ -63,7 +63,7 @@ public final class HandshakeCalculatorTest {
|
|
63
|
63
|
handshakeCalculator.calculateHandshake(19));
|
|
64
|
64
|
}
|
|
65
|
65
|
|
|
66
|
|
- @Ignore
|
|
|
66
|
+ @Ignore("Remove to run test")
|
|
67
|
67
|
@Test
|
|
68
|
68
|
public void testReversingASingleActionYieldsTheSameAction() {
|
|
69
|
69
|
assertEquals(
|
|
|
@@ -71,7 +71,7 @@ public final class HandshakeCalculatorTest {
|
|
71
|
71
|
handshakeCalculator.calculateHandshake(24));
|
|
72
|
72
|
}
|
|
73
|
73
|
|
|
74
|
|
- @Ignore
|
|
|
74
|
+ @Ignore("Remove to run test")
|
|
75
|
75
|
@Test
|
|
76
|
76
|
public void testReversingNoActionsYieldsNoActions() {
|
|
77
|
77
|
assertEquals(
|
|
|
@@ -79,7 +79,7 @@ public final class HandshakeCalculatorTest {
|
|
79
|
79
|
handshakeCalculator.calculateHandshake(16));
|
|
80
|
80
|
}
|
|
81
|
81
|
|
|
82
|
|
- @Ignore
|
|
|
82
|
+ @Ignore("Remove to run test")
|
|
83
|
83
|
@Test
|
|
84
|
84
|
public void testInputThatYieldsAllActions() {
|
|
85
|
85
|
assertEquals(
|
|
|
@@ -87,7 +87,7 @@ public final class HandshakeCalculatorTest {
|
|
87
|
87
|
handshakeCalculator.calculateHandshake(15));
|
|
88
|
88
|
}
|
|
89
|
89
|
|
|
90
|
|
- @Ignore
|
|
|
90
|
+ @Ignore("Remove to run test")
|
|
91
|
91
|
@Test
|
|
92
|
92
|
public void testInputThatYieldsAllActionsReversed() {
|
|
93
|
93
|
assertEquals(
|
|
|
@@ -95,7 +95,7 @@ public final class HandshakeCalculatorTest {
|
|
95
|
95
|
handshakeCalculator.calculateHandshake(31));
|
|
96
|
96
|
}
|
|
97
|
97
|
|
|
98
|
|
- @Ignore
|
|
|
98
|
+ @Ignore("Remove to run test")
|
|
99
|
99
|
@Test
|
|
100
|
100
|
public void testThatInput0YieldsNoActions() {
|
|
101
|
101
|
assertEquals(
|
|
|
@@ -103,7 +103,7 @@ public final class HandshakeCalculatorTest {
|
|
103
|
103
|
handshakeCalculator.calculateHandshake(0));
|
|
104
|
104
|
}
|
|
105
|
105
|
|
|
106
|
|
- @Ignore
|
|
|
106
|
+ @Ignore("Remove to run test")
|
|
107
|
107
|
@Test
|
|
108
|
108
|
public void testThatInputWithLower5BitsNotSetYieldsNoActions() {
|
|
109
|
109
|
assertEquals(
|