public void EntryCreatedSuccessFullyTest()
        {
            _block.Begin();
            _block.End();

            Assert.Equal(1, _block.Count);
        }
Example #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="block"></param>
        public TimerContext(TimingBlock block)
        {
            Guard.NotNull(block);

            _block = block;

            block.Begin();
        }