Initial commit
[trapthecap.git] / doc / classes / GameTest.html
1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE html
3 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
6 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7 <head>
8 <title>Class: GameTest</title>
9 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10 <meta http-equiv="Content-Script-Type" content="text/javascript" />
11 <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12 <script type="text/javascript">
13 // <![CDATA[
14
15 function popupCode( url ) {
16 window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17 }
18
19 function toggleCode( id ) {
20 if ( document.getElementById )
21 elem = document.getElementById( id );
22 else if ( document.all )
23 elem = eval( "document.all." + id );
24 else
25 return false;
26
27 elemStyle = elem.style;
28
29 if ( elemStyle.display != "block" ) {
30 elemStyle.display = "block"
31 } else {
32 elemStyle.display = "none"
33 }
34
35 return true;
36 }
37
38 // Make codeblocks hidden by default
39 document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
41 // ]]>
42 </script>
43
44 </head>
45 <body>
46
47
48
49 <div id="classHeader">
50 <table class="header-table">
51 <tr class="top-aligned-row">
52 <td><strong>Class</strong></td>
53 <td class="class-name-in-header">GameTest</td>
54 </tr>
55 <tr class="top-aligned-row">
56 <td><strong>In:</strong></td>
57 <td>
58 <a href="../files/test/libttc_test_rb.html">
59 test/libttc_test.rb
60 </a>
61 <br />
62 </td>
63 </tr>
64
65 <tr class="top-aligned-row">
66 <td><strong>Parent:</strong></td>
67 <td>
68 Test::Unit::TestCase
69 </td>
70 </tr>
71 </table>
72 </div>
73 <!-- banner header -->
74
75 <div id="bodyContent">
76
77
78
79 <div id="contextContent">
80
81
82
83 </div>
84
85 <div id="method-list">
86 <h3 class="section-bar">Methods</h3>
87
88 <div class="name-list">
89 <a href="#M000025">test_apply_moves!</a>&nbsp;&nbsp;
90 <a href="#M000021">test_captures</a>&nbsp;&nbsp;
91 <a href="#M000026">test_eliminations</a>&nbsp;&nbsp;
92 <a href="#M000024">test_game</a>&nbsp;&nbsp;
93 <a href="#M000018">test_game_init</a>&nbsp;&nbsp;
94 <a href="#M000017">test_init</a>&nbsp;&nbsp;
95 <a href="#M000023">test_move_after_captures</a>&nbsp;&nbsp;
96 <a href="#M000022">test_no_captures_on_safe_spaces</a>&nbsp;&nbsp;
97 <a href="#M000020">test_separate_moves</a>&nbsp;&nbsp;
98 <a href="#M000019">test_single_moves_1</a>&nbsp;&nbsp;
99 <a href="#M000027">test_undo_move!</a>&nbsp;&nbsp;
100 </div>
101 </div>
102
103 </div>
104
105
106 <!-- if includes -->
107
108 <div id="section">
109
110
111
112
113
114
115
116
117 <!-- if method_list -->
118 <div id="methods">
119 <h3 class="section-bar">Public Instance methods</h3>
120
121 <div id="method-M000025" class="method-detail">
122 <a name="M000025"></a>
123
124 <div class="method-heading">
125 <a href="GameTest.src/M000025.html" target="Code" class="method-signature"
126 onclick="popupCode('GameTest.src/M000025.html');return false;">
127 <span class="method-name">test_apply_moves!</span><span class="method-args">()</span>
128 </a>
129 </div>
130
131 <div class="method-description">
132 </div>
133 </div>
134
135 <div id="method-M000021" class="method-detail">
136 <a name="M000021"></a>
137
138 <div class="method-heading">
139 <a href="GameTest.src/M000021.html" target="Code" class="method-signature"
140 onclick="popupCode('GameTest.src/M000021.html');return false;">
141 <span class="method-name">test_captures</span><span class="method-args">()</span>
142 </a>
143 </div>
144
145 <div class="method-description">
146 </div>
147 </div>
148
149 <div id="method-M000026" class="method-detail">
150 <a name="M000026"></a>
151
152 <div class="method-heading">
153 <a href="GameTest.src/M000026.html" target="Code" class="method-signature"
154 onclick="popupCode('GameTest.src/M000026.html');return false;">
155 <span class="method-name">test_eliminations</span><span class="method-args">()</span>
156 </a>
157 </div>
158
159 <div class="method-description">
160 </div>
161 </div>
162
163 <div id="method-M000024" class="method-detail">
164 <a name="M000024"></a>
165
166 <div class="method-heading">
167 <a href="GameTest.src/M000024.html" target="Code" class="method-signature"
168 onclick="popupCode('GameTest.src/M000024.html');return false;">
169 <span class="method-name">test_game</span><span class="method-args">()</span>
170 </a>
171 </div>
172
173 <div class="method-description">
174 </div>
175 </div>
176
177 <div id="method-M000018" class="method-detail">
178 <a name="M000018"></a>
179
180 <div class="method-heading">
181 <a href="GameTest.src/M000018.html" target="Code" class="method-signature"
182 onclick="popupCode('GameTest.src/M000018.html');return false;">
183 <span class="method-name">test_game_init</span><span class="method-args">()</span>
184 </a>
185 </div>
186
187 <div class="method-description">
188 </div>
189 </div>
190
191 <div id="method-M000017" class="method-detail">
192 <a name="M000017"></a>
193
194 <div class="method-heading">
195 <a href="GameTest.src/M000017.html" target="Code" class="method-signature"
196 onclick="popupCode('GameTest.src/M000017.html');return false;">
197 <span class="method-name">test_init</span><span class="method-args">()</span>
198 </a>
199 </div>
200
201 <div class="method-description">
202 </div>
203 </div>
204
205 <div id="method-M000023" class="method-detail">
206 <a name="M000023"></a>
207
208 <div class="method-heading">
209 <a href="GameTest.src/M000023.html" target="Code" class="method-signature"
210 onclick="popupCode('GameTest.src/M000023.html');return false;">
211 <span class="method-name">test_move_after_captures</span><span class="method-args">()</span>
212 </a>
213 </div>
214
215 <div class="method-description">
216 </div>
217 </div>
218
219 <div id="method-M000022" class="method-detail">
220 <a name="M000022"></a>
221
222 <div class="method-heading">
223 <a href="GameTest.src/M000022.html" target="Code" class="method-signature"
224 onclick="popupCode('GameTest.src/M000022.html');return false;">
225 <span class="method-name">test_no_captures_on_safe_spaces</span><span class="method-args">()</span>
226 </a>
227 </div>
228
229 <div class="method-description">
230 </div>
231 </div>
232
233 <div id="method-M000020" class="method-detail">
234 <a name="M000020"></a>
235
236 <div class="method-heading">
237 <a href="GameTest.src/M000020.html" target="Code" class="method-signature"
238 onclick="popupCode('GameTest.src/M000020.html');return false;">
239 <span class="method-name">test_separate_moves</span><span class="method-args">()</span>
240 </a>
241 </div>
242
243 <div class="method-description">
244 </div>
245 </div>
246
247 <div id="method-M000019" class="method-detail">
248 <a name="M000019"></a>
249
250 <div class="method-heading">
251 <a href="GameTest.src/M000019.html" target="Code" class="method-signature"
252 onclick="popupCode('GameTest.src/M000019.html');return false;">
253 <span class="method-name">test_single_moves_1</span><span class="method-args">()</span>
254 </a>
255 </div>
256
257 <div class="method-description">
258 </div>
259 </div>
260
261 <div id="method-M000027" class="method-detail">
262 <a name="M000027"></a>
263
264 <div class="method-heading">
265 <a href="GameTest.src/M000027.html" target="Code" class="method-signature"
266 onclick="popupCode('GameTest.src/M000027.html');return false;">
267 <span class="method-name">test_undo_move!</span><span class="method-args">()</span>
268 </a>
269 </div>
270
271 <div class="method-description">
272 </div>
273 </div>
274
275
276 </div>
277
278
279 </div>
280
281
282 <div id="validator-badges">
283 <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
284 </div>
285
286 </body>
287 </html>