|
|
@@ -1,5 +1,4 @@
|
|
1
|
1
|
|
|
2
|
|
-
|
|
3
|
2
|
import static org.junit.Assert.*;
|
|
4
|
3
|
import org.junit.After;
|
|
5
|
4
|
import org.junit.Before;
|
|
|
@@ -40,19 +39,20 @@ public class WriteLoopsTest
|
|
40
|
39
|
{
|
|
41
|
40
|
}
|
|
42
|
41
|
|
|
43
|
|
-
|
|
44
|
42
|
@Test
|
|
45
|
43
|
public void TestOneToFive()
|
|
46
|
44
|
{
|
|
47
|
45
|
WriteLoops writeLoo1 = new WriteLoops();
|
|
48
|
46
|
assertEquals(5, writeLoo1.oneToFive());
|
|
49
|
47
|
}
|
|
|
48
|
+
|
|
50
|
49
|
@Test
|
|
51
|
50
|
public void TestOneToTen()
|
|
52
|
51
|
{
|
|
53
|
52
|
WriteLoops writeLoo1 = new WriteLoops();
|
|
54
|
53
|
assertEquals(10, writeLoo1.oneToTen());
|
|
55
|
54
|
}
|
|
|
55
|
+
|
|
56
|
56
|
@Test
|
|
57
|
57
|
public void TestStartAtTwentyOne()
|
|
58
|
58
|
{
|
|
|
@@ -103,7 +103,6 @@ public class WriteLoopsTest
|
|
103
|
103
|
}
|
|
104
|
104
|
|
|
105
|
105
|
|
|
106
|
|
-
|
|
107
|
106
|
@Test
|
|
108
|
107
|
public void TestCheckGameScore()
|
|
109
|
108
|
{
|
|
|
@@ -125,7 +124,6 @@ public class WriteLoopsTest
|
|
125
|
124
|
assertEquals(3, writeLoo1.checkServerStatus());
|
|
126
|
125
|
}
|
|
127
|
126
|
|
|
128
|
|
-
|
|
129
|
127
|
}
|
|
130
|
128
|
|
|
131
|
129
|
|
|
|
@@ -133,9 +131,3 @@ public class WriteLoopsTest
|
|
133
|
131
|
|
|
134
|
132
|
|
|
135
|
133
|
|
|
136
|
|
-
|
|
137
|
|
-
|
|
138
|
|
-
|
|
139
|
|
-
|
|
140
|
|
-
|
|
141
|
|
-
|