-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.java
More file actions
37 lines (21 loc) · 735 Bytes
/
Copy pathMain.java
File metadata and controls
37 lines (21 loc) · 735 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
public class Main {
/**
* @param args
*/
public static void main(String[] args) {
ComplexNum testComplexNum1 = new ComplexNum();
testComplexNum1.setRealNum(1);
testComplexNum1.setImaginaryNum(2);
//
//
// ComplexNum testComplexNum2 = new ComplexNum();
// testComplexNum2.setRealNum(2);
// testComplexNum2.setImaginaryNum(4);
// BasicMathDoer testBasicMathDoer = new BasicMathDoer(testComplexNum1, testComplexNum2);
AdvancedMathDoer testAdvancedMathDoer = new AdvancedMathDoer();
testComplexNum1.printThis();
// testComplexNum2.printThis();
// testBasicMathDoer.divide().printThis();
testAdvancedMathDoer.gotoTheNthPower(testComplexNum1, testComplexNum1, 0).printThis();
}
}