|
@@ -82,29 +82,29 @@ public class WriteIFsTest
|
82
|
82
|
public void TestFireControl()
|
83
|
83
|
{
|
84
|
84
|
WriteIFs writeIFs1 = new WriteIFs();
|
85
|
|
- //Object oo = new Object();
|
|
85
|
+ Object oo = new Object();
|
86
|
86
|
writeIFs1.putValueOftts(1);
|
87
|
|
- writeIFs1.fireplaceControl();
|
|
87
|
+ writeIFs1.fireplaceControl(oo);
|
88
|
88
|
assertEquals(213, writeIFs1.getValueOftts());
|
89
|
89
|
}
|
90
|
90
|
@Test
|
91
|
91
|
public void TestFireControl2()
|
92
|
92
|
{
|
93
|
93
|
WriteIFs writeIFs1 = new WriteIFs();
|
94
|
|
- //Object oo = new Object();
|
|
94
|
+ Object oo = new Object();
|
95
|
95
|
writeIFs1.putValueOfoo1(65);
|
96
|
96
|
writeIFs1.putValueOftts(1);
|
97
|
|
- writeIFs1.fireplaceControl();
|
|
97
|
+ writeIFs1.fireplaceControl(oo);
|
98
|
98
|
assertEquals(213, writeIFs1.getValueOftts());
|
99
|
99
|
}
|
100
|
100
|
@Test
|
101
|
101
|
public void TestFireControl3()
|
102
|
102
|
{
|
103
|
103
|
WriteIFs writeIFs1 = new WriteIFs();
|
104
|
|
- //Object oo = new Object();
|
|
104
|
+ Object oo = new Object();
|
105
|
105
|
writeIFs1.putValueOfoo2(80);
|
106
|
106
|
writeIFs1.putValueOftts(1);
|
107
|
|
- writeIFs1.fireplaceControl();
|
|
107
|
+ writeIFs1.fireplaceControl(oo);
|
108
|
108
|
assertEquals(213, writeIFs1.getValueOftts());
|
109
|
109
|
}
|
110
|
110
|
|