Example #1
0
        public void GetSchoolStats()
        {
            StatLogic sl         = GetWitcherLogic();
            string    bestschool = "School of the Wolf";
            string    testschool = sl.SchoolStats();

            Assert.That(bestschool, Is.EqualTo(testschool));
        }
Example #2
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));
        }