コード例 #1
0
        public void AlsoScheduleTalksWithNetworkingEvent()
        {
            _testConference.TalksLoader = new FileTalksLoader(ConferenceTrackDataSeed.GetTalksListOne());
            _testConference.RegisterTalks();

            _testConference.TalksLoader = new FileTalksLoader(ConferenceTrackDataSeed.GetTalksListTwo());
            _testConference.RegisterTalks();

            _testConference.Schedule();
        }
コード例 #2
0
        public void AddTalksIfTheyWereAddedInTwoTurns()
        {
            _testConference.TalksLoader = new FileTalksLoader(ConferenceTrackDataSeed.GetTalksListOne());
            _testConference.RegisterTalks();

            _testConference.TalksLoader = new FileTalksLoader(ConferenceTrackDataSeed.GetTalksListTwo());
            _testConference.RegisterTalks();

            Assert.AreEqual(19, _testConference.TotalTalks);
        }
コード例 #3
0
        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());
        }
コード例 #4
0
        public void WriteResultToTextFile()
        {
            _testConference.TalksLoader = new FileTalksLoader(ConferenceTrackDataSeed.GetTalksListOne());
            _testConference.RegisterTalks();

            _testConference.TalksLoader = new FileTalksLoader(ConferenceTrackDataSeed.GetTalksListTwo());
            _testConference.RegisterTalks();

            _testConference.Schedule();

            _testConference.GetSchedule();
        }