Lines Matching refs:Position

299                 Assert.AreEqual(1, cout.Position);  in TestCodedInputOutputPosition()
301 Assert.AreEqual(3, cout.Position); in TestCodedInputOutputPosition()
304 Assert.AreEqual(4, cout.Position); in TestCodedInputOutputPosition()
306 Assert.AreEqual(115, cout.Position); in TestCodedInputOutputPosition()
309 Assert.AreEqual(116, cout.Position); in TestCodedInputOutputPosition()
311 Assert.AreEqual(120, cout.Position); in TestCodedInputOutputPosition()
320 Assert.AreEqual(1, cout.Position); in TestCodedInputOutputPosition()
322 Assert.AreEqual(3, cout.Position); in TestCodedInputOutputPosition()
325 Assert.AreEqual(4, cout.Position); in TestCodedInputOutputPosition()
327 Assert.AreEqual(125, cout.Position); in TestCodedInputOutputPosition()
330 Assert.AreEqual(126, cout.Position); in TestCodedInputOutputPosition()
332 Assert.AreEqual(130, cout.Position); in TestCodedInputOutputPosition()
338 Assert.AreEqual(0, cin.Position); in TestCodedInputOutputPosition()
342 Assert.AreEqual(1, cin.Position); in TestCodedInputOutputPosition()
344 Assert.AreEqual(3, cin.Position); in TestCodedInputOutputPosition()
348 Assert.AreEqual(4, cin.Position); in TestCodedInputOutputPosition()
351 Assert.AreEqual(5, cin.Position); in TestCodedInputOutputPosition()
353 Assert.AreEqual(5, cin.Position); in TestCodedInputOutputPosition()
359 Assert.AreEqual(6, cin.Position); in TestCodedInputOutputPosition()
361 Assert.AreEqual(8, cin.Position); in TestCodedInputOutputPosition()
365 Assert.AreEqual(9, cin.Position); in TestCodedInputOutputPosition()
369 Assert.AreEqual(120, cin.Position); in TestCodedInputOutputPosition()
374 Assert.AreEqual(121, cin.Position); in TestCodedInputOutputPosition()
376 Assert.AreEqual(125, cin.Position); in TestCodedInputOutputPosition()
380 Assert.AreEqual(125, cin.Position); in TestCodedInputOutputPosition()
384 Assert.AreEqual(126, cin.Position); in TestCodedInputOutputPosition()
386 Assert.AreEqual(130, cin.Position); in TestCodedInputOutputPosition()
399 Assert.AreEqual(0, memoryStream.Position); // Not flushed yet in Dispose_DisposesUnderlyingStream()
413 Assert.AreEqual(0, memoryStream.Position); // Not flushed yet in Dispose_WithLeaveOpen()
415 … Assert.AreEqual(1, memoryStream.Position); // Flushed data from CodedOutputStream to MemoryStream in Dispose_WithLeaveOpen()