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("아직 구현되지 않았습니다"); -}