public void Host_Traveler_UpdateRegisterPlayerAndUpdateScore() { int peopleLimit = 3; Ocean ocean = new Ocean(peopleLimit, new EndStep()); Traveler traveler = new Traveler(); List <Traveler> travelers = new List <Traveler>(); travelers.Add(traveler); ocean.Host(traveler); Assert.AreEqual(ocean.PlayersRegistry[traveler], 1); Assert.AreEqual(travelers[0].Score, 1); ocean.Host(traveler); Assert.AreEqual(ocean.PlayersRegistry[traveler], 2); Assert.AreEqual(travelers[0].Score, 4); ocean.Host(traveler); Assert.AreEqual(ocean.PlayersRegistry[traveler], 3); Assert.AreEqual(travelers[0].Score, 9); }