public void AlsoScheduleTalksWithNetworkingEvent() { _testConference.TalksLoader = new FileTalksLoader(ConferenceTrackDataSeed.GetTalksListOne()); _testConference.RegisterTalks(); _testConference.TalksLoader = new FileTalksLoader(ConferenceTrackDataSeed.GetTalksListTwo()); _testConference.RegisterTalks(); _testConference.Schedule(); }
public void AddTalksIfTheyWereAddedInTwoTurns() { _testConference.TalksLoader = new FileTalksLoader(ConferenceTrackDataSeed.GetTalksListOne()); _testConference.RegisterTalks(); _testConference.TalksLoader = new FileTalksLoader(ConferenceTrackDataSeed.GetTalksListTwo()); _testConference.RegisterTalks(); Assert.AreEqual(19, _testConference.TotalTalks); }
public void ScheduleIfTalksWereRegisteredInIterations() { _testConference.TalksLoader = new FileTalksLoader(ConferenceTrackDataSeed.GetTalksListOne()); _testConference.RegisterTalks(); _testConference.TalksLoader = new FileTalksLoader(ConferenceTrackDataSeed.GetTalksListTwo()); _testConference.RegisterTalks(); _testConference.Schedule(); Assert.AreEqual(19, GetScheduledTalks()); }
public void WriteResultToTextFile() { _testConference.TalksLoader = new FileTalksLoader(ConferenceTrackDataSeed.GetTalksListOne()); _testConference.RegisterTalks(); _testConference.TalksLoader = new FileTalksLoader(ConferenceTrackDataSeed.GetTalksListTwo()); _testConference.RegisterTalks(); _testConference.Schedule(); _testConference.GetSchedule(); }