Lines Matching refs:AreEqual
79 Assert.AreEqual(0, inputStream.Count); in TestSizeOnEmptyANTLRInputStream()
90 Assert.AreEqual(grammarStr.Length, inputStream.Count); in TestSizeOnANTLRInputStream()
101 Assert.AreEqual(0, inputStream.Index); in TestConsumeAndIndexOnANTLRInputStream()
104 Assert.AreEqual(1, inputStream.Index); in TestConsumeAndIndexOnANTLRInputStream()
107 Assert.AreEqual(2, inputStream.Index); in TestConsumeAndIndexOnANTLRInputStream()
113 Assert.AreEqual(inputStream.Index, inputStream.Count); in TestConsumeAndIndexOnANTLRInputStream()
129 Assert.AreEqual(inputStream.Index, inputStream.Count); in TestConsumeAllCharactersInAnANTLRInputStream()
140 Assert.AreEqual(0, inputStream.Index); in TestConsumeOnANTLRInputStream()
141 Assert.AreEqual(0, inputStream.CharPositionInLine); in TestConsumeOnANTLRInputStream()
142 Assert.AreEqual(1, inputStream.Line); in TestConsumeOnANTLRInputStream()
145 Assert.AreEqual(1, inputStream.Index); in TestConsumeOnANTLRInputStream()
146 Assert.AreEqual(1, inputStream.CharPositionInLine); in TestConsumeOnANTLRInputStream()
147 Assert.AreEqual(1, inputStream.Line); in TestConsumeOnANTLRInputStream()
150 Assert.AreEqual(2, inputStream.Index); in TestConsumeOnANTLRInputStream()
151 Assert.AreEqual(2, inputStream.CharPositionInLine); in TestConsumeOnANTLRInputStream()
152 Assert.AreEqual(1, inputStream.Line); in TestConsumeOnANTLRInputStream()
155 Assert.AreEqual(3, inputStream.Index); in TestConsumeOnANTLRInputStream()
156 Assert.AreEqual(3, inputStream.CharPositionInLine); in TestConsumeOnANTLRInputStream()
157 Assert.AreEqual(1, inputStream.Line); in TestConsumeOnANTLRInputStream()
160 Assert.AreEqual(4, inputStream.Index); in TestConsumeOnANTLRInputStream()
161 Assert.AreEqual(4, inputStream.CharPositionInLine); in TestConsumeOnANTLRInputStream()
162 Assert.AreEqual(1, inputStream.Line); in TestConsumeOnANTLRInputStream()
165 Assert.AreEqual(5, inputStream.Index); in TestConsumeOnANTLRInputStream()
166 Assert.AreEqual(0, inputStream.CharPositionInLine); in TestConsumeOnANTLRInputStream()
167 Assert.AreEqual(2, inputStream.Line); in TestConsumeOnANTLRInputStream()
170 Assert.AreEqual(6, inputStream.Index); in TestConsumeOnANTLRInputStream()
171 Assert.AreEqual(1, inputStream.CharPositionInLine); in TestConsumeOnANTLRInputStream()
172 Assert.AreEqual(2, inputStream.Line); in TestConsumeOnANTLRInputStream()
175 Assert.AreEqual(7, inputStream.Index); in TestConsumeOnANTLRInputStream()
176 Assert.AreEqual(2, inputStream.CharPositionInLine); in TestConsumeOnANTLRInputStream()
177 Assert.AreEqual(2, inputStream.Line); in TestConsumeOnANTLRInputStream()
180 Assert.AreEqual(8, inputStream.Index); in TestConsumeOnANTLRInputStream()
181 Assert.AreEqual(3, inputStream.CharPositionInLine); in TestConsumeOnANTLRInputStream()
182 Assert.AreEqual(2, inputStream.Line); in TestConsumeOnANTLRInputStream()
185 Assert.AreEqual(8, inputStream.Index); in TestConsumeOnANTLRInputStream()
186 Assert.AreEqual(3, inputStream.CharPositionInLine); in TestConsumeOnANTLRInputStream()
187 Assert.AreEqual(2, inputStream.Line); in TestConsumeOnANTLRInputStream()
190 Assert.AreEqual(8, inputStream.Index); in TestConsumeOnANTLRInputStream()
191 Assert.AreEqual(3, inputStream.CharPositionInLine); in TestConsumeOnANTLRInputStream()
192 Assert.AreEqual(2, inputStream.Line); in TestConsumeOnANTLRInputStream()
203 Assert.AreEqual(0, inputStream.Index); in TestResetOnANTLRInputStream()
204 Assert.AreEqual(0, inputStream.CharPositionInLine); in TestResetOnANTLRInputStream()
205 Assert.AreEqual(1, inputStream.Line); in TestResetOnANTLRInputStream()
210 Assert.AreEqual('e', inputStream.LA(1)); in TestResetOnANTLRInputStream()
211 Assert.AreEqual(2, inputStream.Index); in TestResetOnANTLRInputStream()
214 Assert.AreEqual('O', inputStream.LA(1)); in TestResetOnANTLRInputStream()
215 Assert.AreEqual(0, inputStream.Index); in TestResetOnANTLRInputStream()
216 Assert.AreEqual(0, inputStream.CharPositionInLine); in TestResetOnANTLRInputStream()
217 Assert.AreEqual(1, inputStream.Line); in TestResetOnANTLRInputStream()
220 Assert.AreEqual('n', inputStream.LA(1)); in TestResetOnANTLRInputStream()
221 Assert.AreEqual(1, inputStream.Index); in TestResetOnANTLRInputStream()
222 Assert.AreEqual(1, inputStream.CharPositionInLine); in TestResetOnANTLRInputStream()
223 Assert.AreEqual(1, inputStream.Line); in TestResetOnANTLRInputStream()
226 Assert.AreEqual('e', inputStream.LA(1)); in TestResetOnANTLRInputStream()
227 Assert.AreEqual(2, inputStream.Index); in TestResetOnANTLRInputStream()
228 Assert.AreEqual(2, inputStream.CharPositionInLine); in TestResetOnANTLRInputStream()
229 Assert.AreEqual(1, inputStream.Line); in TestResetOnANTLRInputStream()
242 Assert.AreEqual("Two", stream.Substring(5, 7)); in TestSubstringOnANTLRInputStream()
243 Assert.AreEqual("One", stream.Substring(0, 2)); in TestSubstringOnANTLRInputStream()
244 Assert.AreEqual("Three", stream.Substring(10, 14)); in TestSubstringOnANTLRInputStream()
248 Assert.AreEqual("Two", stream.Substring(5, 7)); in TestSubstringOnANTLRInputStream()
249 Assert.AreEqual("One", stream.Substring(0, 2)); in TestSubstringOnANTLRInputStream()
250 Assert.AreEqual("Three", stream.Substring(10, 14)); in TestSubstringOnANTLRInputStream()
261 Assert.AreEqual('O', stream.LA(1)); in TestSeekOnANTLRInputStream()
262 Assert.AreEqual(0, stream.Index); in TestSeekOnANTLRInputStream()
263 Assert.AreEqual(0, stream.CharPositionInLine); in TestSeekOnANTLRInputStream()
264 Assert.AreEqual(1, stream.Line); in TestSeekOnANTLRInputStream()
267 Assert.AreEqual('w', stream.LA(1)); in TestSeekOnANTLRInputStream()
268 Assert.AreEqual(6, stream.Index); in TestSeekOnANTLRInputStream()
269 Assert.AreEqual(1, stream.CharPositionInLine); in TestSeekOnANTLRInputStream()
270 Assert.AreEqual(2, stream.Line); in TestSeekOnANTLRInputStream()
273 Assert.AreEqual('h', stream.LA(1)); in TestSeekOnANTLRInputStream()
274 Assert.AreEqual(11, stream.Index); in TestSeekOnANTLRInputStream()
275 Assert.AreEqual(1, stream.CharPositionInLine); in TestSeekOnANTLRInputStream()
276 Assert.AreEqual(3, stream.Line); in TestSeekOnANTLRInputStream()
280 Assert.AreEqual('n', stream.LA(1)); in TestSeekOnANTLRInputStream()
281 Assert.AreEqual(1, stream.Index); in TestSeekOnANTLRInputStream()
282 Assert.AreEqual(1, stream.CharPositionInLine); in TestSeekOnANTLRInputStream()
283 Assert.AreEqual(3, stream.Line); in TestSeekOnANTLRInputStream()
295 Assert.AreEqual(0, s1.Count); in TestSizeOnEmptyANTLRStringStream()
296 Assert.AreEqual(0, s1.Index); in TestSizeOnEmptyANTLRStringStream()
303 Assert.AreEqual(7, s1.Count); in TestSizeOnANTLRStringStream()
306 Assert.AreEqual(grammarStr.Length, s2.Count); in TestSizeOnANTLRStringStream()
309 Assert.AreEqual(10, s3.Count); in TestSizeOnANTLRStringStream()
316 Assert.AreEqual(0, stream.Index); in TestConsumeOnANTLRStringStream()
317 Assert.AreEqual(0, stream.CharPositionInLine); in TestConsumeOnANTLRStringStream()
318 Assert.AreEqual(1, stream.Line); in TestConsumeOnANTLRStringStream()
321 Assert.AreEqual(1, stream.Index); in TestConsumeOnANTLRStringStream()
322 Assert.AreEqual(1, stream.CharPositionInLine); in TestConsumeOnANTLRStringStream()
323 Assert.AreEqual(1, stream.Line); in TestConsumeOnANTLRStringStream()
326 Assert.AreEqual(2, stream.Index); in TestConsumeOnANTLRStringStream()
327 Assert.AreEqual(2, stream.CharPositionInLine); in TestConsumeOnANTLRStringStream()
328 Assert.AreEqual(1, stream.Line); in TestConsumeOnANTLRStringStream()
331 Assert.AreEqual(3, stream.Index); in TestConsumeOnANTLRStringStream()
332 Assert.AreEqual(3, stream.CharPositionInLine); in TestConsumeOnANTLRStringStream()
333 Assert.AreEqual(1, stream.Line); in TestConsumeOnANTLRStringStream()
336 Assert.AreEqual(4, stream.Index); in TestConsumeOnANTLRStringStream()
337 Assert.AreEqual(4, stream.CharPositionInLine); in TestConsumeOnANTLRStringStream()
338 Assert.AreEqual(1, stream.Line); in TestConsumeOnANTLRStringStream()
341 Assert.AreEqual(5, stream.Index); in TestConsumeOnANTLRStringStream()
342 Assert.AreEqual(0, stream.CharPositionInLine); in TestConsumeOnANTLRStringStream()
343 Assert.AreEqual(2, stream.Line); in TestConsumeOnANTLRStringStream()
346 Assert.AreEqual(6, stream.Index); in TestConsumeOnANTLRStringStream()
347 Assert.AreEqual(1, stream.CharPositionInLine); in TestConsumeOnANTLRStringStream()
348 Assert.AreEqual(2, stream.Line); in TestConsumeOnANTLRStringStream()
351 Assert.AreEqual(7, stream.Index); in TestConsumeOnANTLRStringStream()
352 Assert.AreEqual(2, stream.CharPositionInLine); in TestConsumeOnANTLRStringStream()
353 Assert.AreEqual(2, stream.Line); in TestConsumeOnANTLRStringStream()
356 Assert.AreEqual(8, stream.Index); in TestConsumeOnANTLRStringStream()
357 Assert.AreEqual(3, stream.CharPositionInLine); in TestConsumeOnANTLRStringStream()
358 Assert.AreEqual(2, stream.Line); in TestConsumeOnANTLRStringStream()
361 Assert.AreEqual(8, stream.Index); in TestConsumeOnANTLRStringStream()
362 Assert.AreEqual(3, stream.CharPositionInLine); in TestConsumeOnANTLRStringStream()
363 Assert.AreEqual(2, stream.Line); in TestConsumeOnANTLRStringStream()
366 Assert.AreEqual(8, stream.Index); in TestConsumeOnANTLRStringStream()
367 Assert.AreEqual(3, stream.CharPositionInLine); in TestConsumeOnANTLRStringStream()
368 Assert.AreEqual(2, stream.Line); in TestConsumeOnANTLRStringStream()
375 Assert.AreEqual(0, stream.Index); in TestResetOnANTLRStringStream()
376 Assert.AreEqual(0, stream.CharPositionInLine); in TestResetOnANTLRStringStream()
377 Assert.AreEqual(1, stream.Line); in TestResetOnANTLRStringStream()
382 Assert.AreEqual('e', stream.LA(1)); in TestResetOnANTLRStringStream()
383 Assert.AreEqual(2, stream.Index); in TestResetOnANTLRStringStream()
386 Assert.AreEqual('O', stream.LA(1)); in TestResetOnANTLRStringStream()
387 Assert.AreEqual(0, stream.Index); in TestResetOnANTLRStringStream()
388 Assert.AreEqual(0, stream.CharPositionInLine); in TestResetOnANTLRStringStream()
389 Assert.AreEqual(1, stream.Line); in TestResetOnANTLRStringStream()
392 Assert.AreEqual('n', stream.LA(1)); in TestResetOnANTLRStringStream()
393 Assert.AreEqual(1, stream.Index); in TestResetOnANTLRStringStream()
394 Assert.AreEqual(1, stream.CharPositionInLine); in TestResetOnANTLRStringStream()
395 Assert.AreEqual(1, stream.Line); in TestResetOnANTLRStringStream()
398 Assert.AreEqual('e', stream.LA(1)); in TestResetOnANTLRStringStream()
399 Assert.AreEqual(2, stream.Index); in TestResetOnANTLRStringStream()
400 Assert.AreEqual(2, stream.CharPositionInLine); in TestResetOnANTLRStringStream()
401 Assert.AreEqual(1, stream.Line); in TestResetOnANTLRStringStream()
410 Assert.AreEqual("Two", stream.Substring(5, 7)); in TestSubstringOnANTLRStringStream()
411 Assert.AreEqual("One", stream.Substring(0, 2)); in TestSubstringOnANTLRStringStream()
412 Assert.AreEqual("Three", stream.Substring(10, 14)); in TestSubstringOnANTLRStringStream()
416 Assert.AreEqual("Two", stream.Substring(5, 7)); in TestSubstringOnANTLRStringStream()
417 Assert.AreEqual("One", stream.Substring(0, 2)); in TestSubstringOnANTLRStringStream()
418 Assert.AreEqual("Three", stream.Substring(10, 14)); in TestSubstringOnANTLRStringStream()