示例#1
0
 public void Should_clear_buffer()
 {
     using (var r = new SerialReader(TestSettings.Instance.GetConnection()))
     {
         r.ClearBuffer().Wait();
     }
 }
示例#2
0
        public void Should_get_tags_from_buffer_empty()
        {
            using var r = new SerialReader(TestSettings.Instance.GetConnection());
            r.ClearBuffer().Wait();
            var buffer = r.GetTagsFromBuffer().Result;

            buffer.Tags.Count.Should().Be(0);
        }