Пример #1
0
				public async Task CanFindMessageWithNearestTimeInTheMiddle()
				{
					await screenBuffer.MoveToTimestamp(src1.messages.Items[2].Time.ToLocalDateTime().AddMilliseconds(0.7), cancel);
					VerifyMessages(screenBuffer,
						@"a2-ln_1
						b2-ln_0
						b2-ln_1
						a3-ln_0
						a3-ln_1
						b3-ln_0
						b3-ln_1", 0.85);
				}
Пример #2
0
				public async Task CanFindMessageWithNearestTimeInTheMiddle1()
				{
					await screenBuffer.MoveToTimestamp(src.messages.Items[2].Time.ToLocalDateTime().AddMilliseconds(0.7), cancel);
					VerifyMessages(screenBuffer,
						@"2-ln_2
						2-ln_3
						2-ln_4
						3-ln_0
						3-ln_1
						3-ln_2
						3-ln_3", 0.7);
				}