- Demonstrate your understanding of Test Driven Development
- Demonstrate your understanding of Single Responsibility
Welcome to the Wu-Tang Financial lab. Using the Exchange rate chart below, follow the instructions.
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 |
Create a program that can convert any currency into the requested type.
There MUST be Unit test testing the following scenarios
- Convert Dollar to Euro
- Convert Euro to Dollar
- Convert Euro to British Pound
- Convert British Pound to Indian Rupee
- Convert Rupee to Canadian Dollar
- Convert Canadian Dollar to Singapore Dollar
- Convert Singapore Dollar to Swiss Franc
- Convert Swiss Franc to Malaysian Ringgit
- Convert Malaysian Ringgit to Japanese Yen
- Convert Japanese Yen to Chinese Yuan Renminbi