Bladeren bron

converted to BlueJ

L. Dolio Durant 6 jaren geleden
commit
5d9757fe29
5 gewijzigde bestanden met toevoegingen van 97 en 0 verwijderingen
  1. 23
    0
      .gitignore
  2. 2
    0
      CurrencyConverter.java
  3. 2
    0
      CurrencyConverterTest.java
  4. 45
    0
      README.md
  5. 25
    0
      package.bluej

+ 23
- 0
.gitignore Bestand weergeven

@@ -0,0 +1,23 @@
1
+# ---> Java
2
+# Compiled class file
3
+*.class
4
+
5
+# Log file
6
+*.log
7
+
8
+# BlueJ files
9
+*.ctxt
10
+
11
+# Mobile Tools for Java (J2ME)
12
+.mtj.tmp/
13
+
14
+# Package Files #
15
+*.jar
16
+*.war
17
+*.ear
18
+*.zip
19
+*.tar.gz
20
+*.rar
21
+
22
+# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
23
+hs_err_pid*

+ 2
- 0
CurrencyConverter.java Bestand weergeven

@@ -0,0 +1,2 @@
1
+public class CurrencyConverter {
2
+}

+ 2
- 0
CurrencyConverterTest.java Bestand weergeven

@@ -0,0 +1,2 @@
1
+public class CurrencyConverterTest {
2
+}

+ 45
- 0
README.md Bestand weergeven

@@ -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

+ 25
- 0
package.bluej Bestand weergeven

@@ -0,0 +1,25 @@
1
+#BlueJ package file
2
+editor.fx.0.height=722
3
+editor.fx.0.width=800
4
+editor.fx.0.x=560
5
+editor.fx.0.y=117
6
+objectbench.height=101
7
+objectbench.width=461
8
+package.divider.horizontal=0.6
9
+package.divider.vertical=0.8007380073800738
10
+package.editor.height=427
11
+package.editor.width=674
12
+package.editor.x=141
13
+package.editor.y=59
14
+package.frame.height=600
15
+package.frame.width=800
16
+package.numDependencies=0
17
+package.numTargets=0
18
+package.showExtends=true
19
+package.showUses=true
20
+project.charset=UTF-8
21
+readme.height=58
22
+readme.name=@README
23
+readme.width=47
24
+readme.x=10
25
+readme.y=10