質問編集履歴
1
importの修正、<code>を使用しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -22,6 +22,8 @@
|
|
22
22
|
|
23
23
|
|
24
24
|
|
25
|
+
```Java
|
26
|
+
|
25
27
|
public class A {
|
26
28
|
|
27
29
|
public int mult() {
|
@@ -32,7 +34,7 @@
|
|
32
34
|
|
33
35
|
}
|
34
36
|
|
35
|
-
|
37
|
+
-----------------
|
36
38
|
|
37
39
|
public class B {
|
38
40
|
|
@@ -45,6 +47,22 @@
|
|
45
47
|
}
|
46
48
|
|
47
49
|
|
50
|
+
|
51
|
+
--------------------
|
52
|
+
|
53
|
+
import static org.hamcrest.CoreMatchers.*;
|
54
|
+
|
55
|
+
import static org.junit.Assert.*;
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
import org.junit.Test;
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
import mockit.Injectable;
|
64
|
+
|
65
|
+
import mockit.Tested;
|
48
66
|
|
49
67
|
|
50
68
|
|
@@ -88,7 +106,7 @@
|
|
88
106
|
|
89
107
|
|
90
108
|
|
91
|
-
|
109
|
+
```
|
92
110
|
|
93
111
|
|
94
112
|
|