Ejemplo n.º 1
0
        public void HomeAwayGoalsDoubleDigitsTest()
        {
            _fixture.GameState.Add("matchsummary", "13-12 90:00 2nd");
            var fixtureGameState = new FootballGameState(_fixture);

            fixtureGameState.HomeGoals.Should().Be(13);
            fixtureGameState.AwayGoals.Should().Be(12);
            fixtureGameState.TotalGoals.Should().Be(25);
        }
Ejemplo n.º 2
0
        public void HomeAwayGoalsTest()
        {
            _fixture.GameState.Add("matchsummary", "3-2 90:00 2nd");
            var fixtureGameState = new FootballGameState(_fixture);

            fixtureGameState.HomeGoals.Should().Be(3);
            fixtureGameState.AwayGoals.Should().Be(2);
            fixtureGameState.TotalGoals.Should().Be(5);
        }