Esempio n. 1
0
        public void SetUp()
        {
            builder   = new TopPlayerViewModelBuilder();
            topPlayer = new TopPlayer()
            {
                PlayerId   = 1,
                PlayerName = "player name",
                TotalNumberOfGamesPlayed = 100,
                NemePointsSummary        = new NemePointsSummary(1, 5, 8),
                WinPercentage            = 75
            };

            topPlayerViewModel = builder.Build(topPlayer);
        }
Esempio n. 2
0
        public void SetUp()
        {
            builder   = new TopPlayerViewModelBuilder();
            topPlayer = new TopPlayer()
            {
                PlayerId   = 1,
                PlayerName = "player name",
                TotalNumberOfGamesPlayed = 100,
                TotalPoints   = 1234,
                WinPercentage = 75
            };

            topPlayerViewModel = builder.Build(topPlayer);
        }