Skip to content

44번 테스트 케이스 오류 #3

@kangminhyuk1111

Description

@kangminhyuk1111

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입니다.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions