// -------------------------- stats public IActionResult Stats() { StatModel statModel = new Models.StatModel(); statModel.AvgHuntedBounty = StatLogic.AvgHuntedBounty(); statModel.SchoolStats = StatLogic.SchoolStats(); statModel.HasRedenianFriend = StatLogic.HasRedenianFriend(); return(View(statModel)); }
public void GetAvgHuntedBounty() { StatLogic sl = GetWitcherLogic(); string avgbountyleader = "wbot3"; string testbounty = sl.AvgHuntedBounty(); Assert.That(avgbountyleader, Is.EqualTo(testbounty)); }