https://github.com/blue-yonder/tdd_exercise_shipping

A small shipping cost calculator exercise to practice test-driven development

https://github.com/blue-yonder/tdd_exercise_shipping

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.0%) to scientific vocabulary

Keywords

tdd-kata
Last synced: 10 months ago · JSON representation

Repository

A small shipping cost calculator exercise to practice test-driven development

Basic Info
  • Host: GitHub
  • Owner: blue-yonder
  • License: mit
  • Default Branch: master
  • Size: 56.6 KB
Statistics
  • Stars: 0
  • Watchers: 3
  • Forks: 2
  • Open Issues: 0
  • Releases: 0
Topics
tdd-kata
Created over 8 years ago · Last pushed over 8 years ago
Metadata Files
Readme License

README.md

Shipping costs TDD kata

Test-driven development is a software development process that basically puts writing a failing unit test before modifying your production code. This repository provides scaffolds for various programming languages for hassle-free first steps in the world of TDD by solving a simple task.

The task

To serve the ever faster growing world population with Christmas presents, Santa Claus needs to outsource shipping of parcels to external contractors. To make the most of his budget, he is looking for the cheapest way to deliver presents to children.

Your task is to find the cheapest means of transporting a parcel of given dimensions (length x width x height) and weight among the following carriers:

Reindeer Express

| Max. dimensions [cm] | Max. weight [kg] | Price [North Pole Dollar] | |----------------------|------------------|---------------------------| | 30 x 20 x 20 | 2 | 2.99 | | 40 x 30 x 20 | 5 | 4.99 | | 60 x 10 x 60 | 4 | 5.99 | | 120 x 60 x 60 | 30 | 14.99 |

Fair and square

| Max. dimensions [cm] | Max. weight [kg] | Price [North Pole Dollar] | |----------------------|------------------|---------------------------| | 15 x 15 x 15 | 1.5 | 2.25 | | 25 x 25 x 25 | 2.5 | 3.24 | | 35 x 35 x 35 | 5 | 4.00 | | 100 x 100 x 100 | 75 | 56.25 |

Chimney stuffers

| Max. dimensions [cm] | Max. weight [kg] | Price [North Pole Dollar] | |----------------------|------------------|---------------------------| | 15 x 15 x 40 | 10 | 5.00 | | 15 x 15 x 60 | 15 | 6.00 | | 15 x 15 x 80 | 20 | 7.00 | | 15 x 15 x 100 | 25 | 8.00 |

Quickstart with C++

Follow the instructions in the README.md file in the cpp branch:

```

git clone https://github.com/blue-yonder/tddexerciseshipping.git cd tddexerciseshipping git checkout cpp cat README.md ```

Owner

  • Name: Blue Yonder GmbH
  • Login: blue-yonder
  • Kind: organization
  • Location: Karlsruhe, Germany

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels