public void ShouldDownloadEpisode() { Assert.IsFalse(Builders.GetTvFilter().MatchOnce(true).ShouldDownloadEpisode(Builders.GetTvTorrent(), Builders.GetDownloadsWithTvTorrent())); Assert.IsTrue(Builders.GetTvFilter().MatchOnce(false).ShouldDownloadEpisode(Builders.GetTvTorrent(), Builders.GetDownloadsWithTvTorrent())); Assert.IsFalse(Builders.GetTvFilter(2, 3).MatchOnce(true).ShouldDownloadEpisode(Builders.GetTvTorrent(2, 2), Builders.GetDownloadsWithTvTorrent(2, 1))); Assert.IsTrue(Builders.GetTvFilter(2, 2).MatchOnce(true).ShouldDownloadEpisode(Builders.GetTvTorrent(2, 2), Builders.GetDownloadsWithTvTorrent(2, 1))); Assert.IsFalse(Builders.GetTvFilter(2, 2).MatchOnce(true).ShouldDownloadEpisode(Builders.GetTvTorrent(2, 1), Builders.GetDownloadsWithTvTorrent(2, 1))); Assert.IsFalse(Builders.GetTvFilter(2, 2).MatchOnce(true).ShouldDownloadEpisode(Builders.GetTvTorrent(2, 2), Builders.GetDownloadsWithTvTorrent(2, 2))); }