Browse Source

First Commit

Tariq Hook 7 years ago
commit
10e3856fa7

+ 7
- 0
.gitignore View File

@@ -0,0 +1,7 @@
1
+.idea/*
2
+*.iml
3
+*/target/*
4
+*/target/**
5
+.classpath
6
+.project
7
+.settings/

+ 45
- 0
README.md View File

@@ -0,0 +1,45 @@
1
+# Wu-Tang Financial
2
+
3
+### Currency Exchange
4
+
5
+## Objectives
6
+
7
+1. Demonstrate your understanding of Test Driven Development
8
+2. Demonstrate your understanding of Single Responsibility
9
+
10
+## Overview
11
+
12
+Welcome to the Wu-Tang Financial lab. Using the Exchange rate chart below, follow the instructions. 
13
+
14
+## Exchange Rates
15
+
16
+| Currency | Rate |
17
+|----------|------|
18
+| Us Dollar| 1.00 |
19
+| Euro                  | 0.94 |
20
+| British Pound         | 0.82  |
21
+| Indian Rupee          | 68.32 |
22
+| Australian Dollar	    |	1.35|
23
+| Canadian Dollar       | 1.32 |
24
+| Singapore Dollar      | 1.43 |
25
+| Swiss Franc           | 1.01 |
26
+| Malaysian Ringgit     | 4.47  |
27
+| Japanese Yen          | 115.84 |
28
+| Chinese Yuan Renminbi | 6.92   |
29
+
30
+## Instructions
31
+
32
+Create a program that can convert any currency into the requested type.
33
+
34
+There MUST be Unit test testing the following scenarios 
35
+
36
+1. Convert Dollar to Euro
37
+2. Convert Euro to Dollar
38
+3. Convert Euro to British Pound
39
+4. Convert British Pound to Indian Rupee
40
+5. Convert Rupee to Canadian Dollar
41
+6. Convert Canadian Dollar to Singapore Dollar
42
+7. Convert Singapore Dollar to Swiss Franc
43
+8. Convert Swiss Franc to Malaysian Ringgit
44
+9. Convert Malaysian Ringgit to Japanese Yen
45
+10. Convert Japanese Yen to Chinese Yuan Renminbi

+ 14
- 0
pom.xml View File

@@ -0,0 +1,14 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project xmlns="http://maven.apache.org/POM/4.0.0"
3
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
+    <modelVersion>4.0.0</modelVersion>
6
+
7
+    <groupId>io.zipcoder</groupId>
8
+    <artifactId>tc-money-converter</artifactId>
9
+    <version>1.0-SNAPSHOT</version>
10
+
11
+    <dependencies>
12
+
13
+    </dependencies>
14
+</project>

+ 5
- 0
src/main/java/io/zipcoder/CurrencyConverter.java View File

@@ -0,0 +1,5 @@
1
+package io.zipcoder;
2
+
3
+
4
+public class CurrencyConverter {
5
+}

+ 5
- 0
src/test/java/io/zipcoder/CurrencyConverterTest.java View File

@@ -0,0 +1,5 @@
1
+package io.zipcoder;
2
+
3
+
4
+public class CurrencyConverterTest {
5
+}