From 84494a8e18b5b96975ff6c26024ef3c86701b007 Mon Sep 17 00:00:00 2001 From: lee0802-120 Date: Mon, 20 Jul 2026 10:36:45 +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" | 13 ------------ 2 files changed, 33 deletions(-) delete mode 100644 "level-01/1.6-\354\264\210\353\245\274\354\213\234\353\266\204\354\264\210\353\241\234/solution.test.ts" delete mode 100644 "level-01/1.6-\354\264\210\353\245\274\354\213\234\353\266\204\354\264\210\353\241\234/solution.ts" diff --git "a/level-01/1.6-\354\264\210\353\245\274\354\213\234\353\266\204\354\264\210\353\241\234/solution.test.ts" "b/level-01/1.6-\354\264\210\353\245\274\354\213\234\353\266\204\354\264\210\353\241\234/solution.test.ts" deleted file mode 100644 index 0f274c4..0000000 --- "a/level-01/1.6-\354\264\210\353\245\274\354\213\234\353\266\204\354\264\210\353\241\234/solution.test.ts" +++ /dev/null @@ -1,20 +0,0 @@ -import { describe, it, expect } from "vitest"; -import { solution } from "./solution"; - -describe("1.6 초를 시:분:초로", () => { - it("3661초", () => { - expect(solution(3661)).toBe("01:01:01"); - }); - - it("0을 두 자리로 채운다", () => { - expect(solution(59)).toBe("00:00:59"); - }); - - it("0초", () => { - expect(solution(0)).toBe("00:00:00"); - }); - - it("24시간을 넘어가는 경우", () => { - expect(solution(90000)).toBe("25:00:00"); - }); -}); diff --git "a/level-01/1.6-\354\264\210\353\245\274\354\213\234\353\266\204\354\264\210\353\241\234/solution.ts" "b/level-01/1.6-\354\264\210\353\245\274\354\213\234\353\266\204\354\264\210\353\241\234/solution.ts" deleted file mode 100644 index 6f58f50..0000000 --- "a/level-01/1.6-\354\264\210\353\245\274\354\213\234\353\266\204\354\264\210\353\241\234/solution.ts" +++ /dev/null @@ -1,13 +0,0 @@ -/** - * 1.6 초를 시:분:초로 [프로그래머스 Lv0 / 백준 Bronze IV] - * - * 0 이상의 정수 sec(초)를 "HH:MM:SS" 형식 문자열로 반환하세요. - * 시·분·초는 항상 두 자리로 0을 채우고, 시는 24를 넘어갈 수 있습니다. - * - * @example - * solution(3661) // => "01:01:01" - */ -export function solution(sec: number): string { - // TODO: 구현하세요 - throw new Error("아직 구현되지 않았습니다"); -}