From 88961b00538f3ff8e1e5d6fcbfc6d99402d90d29 Mon Sep 17 00:00:00 2001 From: lee0802-120 Date: Mon, 20 Jul 2026 10:37:54 +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" | 16 ---------------- .../solution.ts" | 19 ------------------- 2 files changed, 35 deletions(-) delete mode 100644 "level-01/1.7-\353\266\200\355\230\270\353\266\204\353\245\230/solution.test.ts" delete mode 100644 "level-01/1.7-\353\266\200\355\230\270\353\266\204\353\245\230/solution.ts" diff --git "a/level-01/1.7-\353\266\200\355\230\270\353\266\204\353\245\230/solution.test.ts" "b/level-01/1.7-\353\266\200\355\230\270\353\266\204\353\245\230/solution.test.ts" deleted file mode 100644 index 2961443..0000000 --- "a/level-01/1.7-\353\266\200\355\230\270\353\266\204\353\245\230/solution.test.ts" +++ /dev/null @@ -1,16 +0,0 @@ -import { describe, it, expect } from "vitest"; -import { solution } from "./solution"; - -describe("1.7 부호 분류", () => { - it("양수/음수/0을 센다", () => { - expect(solution([1, -2, 0, 3, 0, -5])).toEqual({ - positive: 2, - negative: 2, - zero: 2, - }); - }); - - it("빈 배열은 모두 0", () => { - expect(solution([])).toEqual({ positive: 0, negative: 0, zero: 0 }); - }); -}); diff --git "a/level-01/1.7-\353\266\200\355\230\270\353\266\204\353\245\230/solution.ts" "b/level-01/1.7-\353\266\200\355\230\270\353\266\204\353\245\230/solution.ts" deleted file mode 100644 index b5d083c..0000000 --- "a/level-01/1.7-\353\266\200\355\230\270\353\266\204\353\245\230/solution.ts" +++ /dev/null @@ -1,19 +0,0 @@ -/** - * 1.7 부호 분류 [프로그래머스 Lv0 / 백준 Bronze IV] - * - * 정수 배열을 받아 양수·음수·0의 개수를 객체로 반환하세요. - * - * @example - * solution([1, -2, 0, 3, 0, -5]) - * // => { positive: 2, negative: 2, zero: 2 } - */ -export interface SignCount { - positive: number; - negative: number; - zero: number; -} - -export function solution(numbers: number[]): SignCount { - // TODO: 구현하세요 - throw new Error("아직 구현되지 않았습니다"); -}