자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public void IntervalIntersectionTest() { var s = new Solution(); int[][] A, B, expected; A = Create2dArray(2, 0, 2, 5, 10, 13, 23, 24, 25); B = Create2dArray(2, 1, 5, 8, 12, 15, 24, 25, 26); expected = Create2dArray(2, 1, 2, 5, 5, 8, 10, 15, 23, 24, 24, 25, 25); Assert.Equal(expected, s.IntervalIntersection(A, B)); }