Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 1.03 KB

README.md

File metadata and controls

22 lines (14 loc) · 1.03 KB

Incubyte TDD Assignment

This repository contains the solution for the String Calculator TDD Kata implemented using TypeScript. The project follows Test-Driven Development (TDD) principles and demonstrates the step-by-step evolution of the codebase through frequent commits.

Features

  • Returns 0 for an empty string input.
  • Adds two or more comma-separated numbers.
  • Supports newline characters between numbers.
  • Allows custom delimiters defined at the beginning of the string.
  • Throws an exception for negative numbers and lists all negative numbers in the exception message.

Project Structure

Folder Structure in vs code

Test Results

NPM Test Results in commmand line

Thank you for considering my application for this opportunity.