コード例 #1
0
        public void TestEnqueueNonInterruptCommand()
        {
            var expectedSize = 5;

            for (var i = 0; i < expectedSize; i++)
            {
                q.Enqueue(new CommandInfo(AppToUCICommand.IsReady));
            }

            Assert.AreEqual(expectedSize, q.Count());
        }