Skip to content

Commit 00cc5b6

Browse files
committed
Added test skeletons.
Merged existing tests.
1 parent ee10a08 commit 00cc5b6

File tree

2 files changed

+66
-0
lines changed

2 files changed

+66
-0
lines changed

calc/src/test/java/org/javamoney/calc/common/FutureValueTest.java

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,38 @@
2727

2828
public class FutureValueTest{
2929

30+
/**
31+
* Method: of(Rate rate, int periods)
32+
*/
33+
@Test
34+
public void testOf() throws Exception {
35+
//TODO: Test goes here...
36+
}
37+
38+
/**
39+
* Method: calculate(MonetaryAmount amount, Rate rate, int periods)
40+
*/
41+
@Test
42+
public void testCalculate() throws Exception {
43+
//TODO: Test goes here...
44+
}
45+
46+
/**
47+
* Method: apply(MonetaryAmount amount)
48+
*/
49+
@Test
50+
public void testApply() throws Exception {
51+
//TODO: Test goes here...
52+
}
53+
54+
/**
55+
* Method: toString()
56+
*/
57+
@Test
58+
public void testToString() throws Exception {
59+
//TODO: Test goes here...
60+
}
61+
3062
@Test
3163
public void test(){
3264
Money money = Money.of(100, "CHF");

calc/src/test/java/org/javamoney/calc/common/PresentValueTest.java

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,40 @@
2020

2121
public class PresentValueTest{
2222

23+
/**
24+
* Method: of(Rate rate, int periods)
25+
*/
26+
@Test
27+
public void testOf() throws Exception {
28+
//TODO: Test goes here...
29+
}
30+
31+
/**
32+
* Method: calculate(MonetaryAmount amount, Rate rate, int periods)
33+
*/
34+
@Test
35+
public void testCalculate() throws Exception {
36+
//TODO: Test goes here...
37+
}
38+
39+
/**
40+
* Method: apply(MonetaryAmount amount)
41+
*/
42+
@Test
43+
public void testApply() throws Exception {
44+
//TODO: Test goes here...
45+
}
46+
47+
/**
48+
* Method: toString()
49+
*/
50+
@Test
51+
public void testToString() throws Exception {
52+
//TODO: Test goes here...
53+
}
54+
55+
56+
2357
@Test
2458
public void test(){
2559
Money money = Money.of(100, "CHF");

0 commit comments

Comments
 (0)