Skip to content

Commit 3a89225

Browse files
authored
Merge pull request exercism#1255 from hgvanpariya/master
Updated test for sum of multiplies exercism#1253
2 parents e875e7e + a4a699a commit 3a89225

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

‎exercises/sum-of-multiples/src/test/java/SumOfMultiplesTest.java‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,18 @@ public void testSumOfMultiplesOf3and5UpToFour() {
3030

3131
}
3232

33+
@Ignore("Remove to run test")
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+
3345
@Ignore("Remove to run test")
3446
@Test
3547
public void testSumOfMultiplesOf3and5UpToTen() {
@@ -112,7 +124,7 @@ public void testSumOfMultiplesOf5and6and8UpToOneHundredFifty() {
112124

113125
@Ignore("Remove to run test")
114126
@Test
115-
public void testSumOfMultiplesOf5and25UpToTwoHundredSeventyFive() {
127+
public void testSumOfMultiplesOf5and25UpToFiftyOne() {
116128

117129
int[] set = {
118130
5,

0 commit comments

Comments
 (0)