From d58e183cb7558e20fd68e3632b3833d3e190c388 Mon Sep 17 00:00:00 2001 From: lee0802-120 Date: Mon, 20 Jul 2026 10:34:18 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9D=B4=EC=A4=80=EC=84=9D=20=EC=A0=9C?= =?UTF-8?q?=EC=B6=9C=ED=95=A9=EB=8B=88=EB=8B=A4.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../solution.test.ts" | 20 ------------------- .../solution.ts" | 14 ------------- 2 files changed, 34 deletions(-) delete mode 100644 "level-01/1.5-\354\234\244\353\205\204\355\214\220\353\263\204/solution.test.ts" delete mode 100644 "level-01/1.5-\354\234\244\353\205\204\355\214\220\353\263\204/solution.ts" 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("아직 구현되지 않았습니다"); -}