Example #1
0
        public void Ping()
        {
            _testResults.Access.WriteUsing("pingCount", 1);

            var stop = (++_pings >= _maxPings);

            if (stop)
            {
                _ping.Stop();
            }

            _pong.Pong(_ping);

            if (stop)
            {
                _pong.Stop();
            }
        }