Joshua Chung 47e7e0a8bb finished commit před 6 roky
.gitignore converted to BlueJ před 6 roky
CurrencyConverter.java finished commit před 6 roky
CurrencyConverterTest.java finished commit před 6 roky
CurrencyConverterTest.java#backup finished commit před 6 roky
README.md converted to BlueJ před 6 roky
package.bluej finished commit před 6 roky

README.md

Wu-Tang Financial

Currency Exchange

Objectives

  1. Demonstrate your understanding of Test Driven Development
  2. Demonstrate your understanding of Single Responsibility

Overview

Welcome to the Wu-Tang Financial lab. Using the Exchange rate chart below, follow the instructions.

Exchange Rates

Currency Rate
Us Dollar 1.00
Euro 0.94
British Pound 0.82
Indian Rupee 68.32
Australian Dollar 1.35
Canadian Dollar 1.32
Singapore Dollar 1.43
Swiss Franc 1.01
Malaysian Ringgit 4.47
Japanese Yen 115.84
Chinese Yuan Renminbi 6.92

Instructions

Create a program that can convert any currency into the requested type.

There MUST be Unit test testing the following scenarios

  1. Convert Dollar to Euro
  2. Convert Euro to Dollar
  3. Convert Euro to British Pound
  4. Convert British Pound to Indian Rupee
  5. Convert Rupee to Canadian Dollar
  6. Convert Canadian Dollar to Singapore Dollar
  7. Convert Singapore Dollar to Swiss Franc
  8. Convert Swiss Franc to Malaysian Ringgit
  9. Convert Malaysian Ringgit to Japanese Yen
  10. Convert Japanese Yen to Chinese Yuan Renminbi