|
|
@@ -32,6 +32,18 @@ public class SumOfMultiplesTest {
|
|
32
|
32
|
|
|
33
|
33
|
@Ignore("Remove to run test")
|
|
34
|
34
|
@Test
|
|
|
35
|
+ public void testSumOfMultiplesOf3aUpToSeven() {
|
|
|
36
|
+
|
|
|
37
|
+ int[] set = {
|
|
|
38
|
+ 3
|
|
|
39
|
+ };
|
|
|
40
|
+ int output = new SumOfMultiples(7, set).getSum();
|
|
|
41
|
+ assertEquals(9, output);
|
|
|
42
|
+
|
|
|
43
|
+ }
|
|
|
44
|
+
|
|
|
45
|
+ @Ignore("Remove to run test")
|
|
|
46
|
+ @Test
|
|
35
|
47
|
public void testSumOfMultiplesOf3and5UpToTen() {
|
|
36
|
48
|
|
|
37
|
49
|
int[] set = {
|
|
|
@@ -112,7 +124,7 @@ public class SumOfMultiplesTest {
|
|
112
|
124
|
|
|
113
|
125
|
@Ignore("Remove to run test")
|
|
114
|
126
|
@Test
|
|
115
|
|
- public void testSumOfMultiplesOf5and25UpToTwoHundredSeventyFive() {
|
|
|
127
|
+ public void testSumOfMultiplesOf5and25UpToFiftyOne() {
|
|
116
|
128
|
|
|
117
|
129
|
int[] set = {
|
|
118
|
130
|
5,
|