Exemple #1
0
        // -------------------------- stats


        public IActionResult Stats()
        {
            StatModel statModel = new Models.StatModel();

            statModel.AvgHuntedBounty   = StatLogic.AvgHuntedBounty();
            statModel.SchoolStats       = StatLogic.SchoolStats();
            statModel.HasRedenianFriend = StatLogic.HasRedenianFriend();
            return(View(statModel));
        }
Exemple #2
0
        public void GetAvgHuntedBounty()
        {
            StatLogic sl = GetWitcherLogic();

            string avgbountyleader = "wbot3";
            string testbounty      = sl.AvgHuntedBounty();

            Assert.That(avgbountyleader, Is.EqualTo(testbounty));
        }