-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
package problem.medium;
import static org.junit.jupiter.api.Assertions.assertEquals;
import java.util.Arrays;
import org.junit.jupiter.api.Test;
public class Problem44Test {
@Test
public void testSumExcludingRange() {
assertEquals(30, Problem44.sumExcludingRange(Arrays.asList(3, 5, 7, 10, 12, 15)));
// 3,12,15
}
}
3 + 12 + 15의 값은 30입니다.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels