Beispiel #1
0
        public void Constructor_Success()
        {
            PlayerFixture pf = new PlayerFixture()
            {
                Id     = 2,
                Player = new Player()
                {
                    Id = 10, Forename = "A", Surname = "B"
                },
                PointsScored = 3,
                Fouls        = 5,
                IsMvp        = "Y"
            };
            PlayerFixtureStats stats = new PlayerFixtureStats(pf, true);

            Assert.That(stats.HasPlayed, Is.True);
        }
Beispiel #2
0
 public void TearDown()
 {
     playerFixtureStats = null;
 }
Beispiel #3
0
 public void SetUp()
 {
     playerFixtureStats = new PlayerFixtureStats();
 }