mrkimani-ndegwa / bc-9-TDD

A repository for the TDD Work

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

TDD Assignment

A repository for the TDD Assignment.

  1. Create a repo named [bc-9-tdd]

  2. Write a variadic function [super_sum()] that takes in any number of numbers (or list of numbers) and sums them up.

Example:

super_sum(10, 5, 6, 9) => 30
super_sum([10, 5], 5) => 20
super_sum([5, 6], [4, 5], 10) => 30

Write at least 5 test cases for your function, before implementing:

  1. Write the tests, then do a commit and push

  2. Write the implementation of your function

About

A repository for the TDD Work

License:GNU General Public License v3.0


Languages

Language:Python 100.0%