diff --git "a/level-01/1.5-\354\234\244\353\205\204\355\214\220\353\263\204/solution.test.ts" "b/level-01/1.5-\354\234\244\353\205\204\355\214\220\353\263\204/solution.test.ts" deleted file mode 100644 index 31aede7..0000000 --- "a/level-01/1.5-\354\234\244\353\205\204\355\214\220\353\263\204/solution.test.ts" +++ /dev/null @@ -1,20 +0,0 @@ -import { describe, it, expect } from "vitest"; -import { solution } from "./solution"; - -describe("1.5 윤년 판별", () => { - it("400의 배수는 윤년", () => { - expect(solution(2000)).toBe(true); - }); - - it("100의 배수지만 400의 배수가 아니면 평년", () => { - expect(solution(1900)).toBe(false); - }); - - it("4의 배수 윤년", () => { - expect(solution(2024)).toBe(true); - }); - - it("4의 배수가 아니면 평년", () => { - expect(solution(2023)).toBe(false); - }); -}); diff --git "a/level-01/1.5-\354\234\244\353\205\204\355\214\220\353\263\204/solution.ts" "b/level-01/1.5-\354\234\244\353\205\204\355\214\220\353\263\204/solution.ts" deleted file mode 100644 index 47972ed..0000000 --- "a/level-01/1.5-\354\234\244\353\205\204\355\214\220\353\263\204/solution.ts" +++ /dev/null @@ -1,14 +0,0 @@ -/** - * 1.5 윤년 판별 [프로그래머스 Lv0 / 백준 Bronze V] - * - * 연도 year가 윤년이면 true, 아니면 false를 반환하세요. - * 윤년은 4의 배수이면서, 100의 배수가 아니거나 400의 배수인 해입니다. - * - * @example - * solution(2024) // => true - * solution(1900) // => false - */ -export function solution(year: number): boolean { - // TODO: 구현하세요 - throw new Error("아직 구현되지 않았습니다"); -}