BloomTests.UpdateVersionTableTests.ValueOnLowerBound_ReturnsCorrectUrl C# (CSharp) Method

ValueOnLowerBound_ReturnsCorrectUrl() private method

private ValueOnLowerBound_ReturnsCorrectUrl ( ) : void
return void
        public void ValueOnLowerBound_ReturnsCorrectUrl()
        {
            var t = new UpdateVersionTable();
            t.TextContentsOfTable = @"# the format is min,max,url
                                                        0.0.0,1.1.999, http://first.com/first
                                                        2.1.1,2.9.999, http://second.com/second
                                                        3.2.2,3.9.999, http://third.com/third";

            t.RunningVersion = Version.Parse("0.0.0");
            Assert.AreEqual("http://first.com/first", t.LookupURLOfUpdate().URL);
            t.RunningVersion = Version.Parse("2.1.1");
            Assert.AreEqual("http://second.com/second", t.LookupURLOfUpdate().URL);
            t.RunningVersion = Version.Parse("3.2.2");
            Assert.AreEqual("http://third.com/third", t.LookupURLOfUpdate().URL);
        }