Exemplo n.º 1
0
        public NHLGame(int _gameId)
        {
            guid = System.Guid.NewGuid();
            gameId = _gameId;
            homeScore = 0;
            homeShots = 0;
            awayScore = 0;
            awayShots = 0;

            period = String.Empty;
            //intermission = false;
            final = false;
            time = String.Empty;
            shootout = false;
            notStarted = true;
            overtime = false;

            mutex = new Object();
            thread = new Thread(new ParameterizedThreadStart(LoopThread));

            lastGoal = null;
            originalLastGoal = null;
            newEvents = new Queue<NHLGameEvent>();
            oldEvents = new List<NHLGameEvent>();

            nhlGameStats = null;
            nhlSeasonStats = null;

            goalDebug = false;
        }
Exemplo n.º 2
0
        public void ParseStatsListTest()
        {
            NHLStats _nhlStats = null; // TODO: Initialize to an appropriate value

            NHLGameStats target = new NHLGameStats(_nhlStats, 0, "", "", false);

            int timeIndex = 0; // TODO: Initialize to an appropriate value

            target.ParsePlayerList(false);
            target.ParseStatsList(timeIndex, false);

            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }