예제 #1
0
        public void Satisfy_Versions(string range, string version, bool satisfies)
        {
            var mvr = new MavenVersionRange(range);

            var actual = mvr.Satisfies(version);

            Assert.Equal(satisfies, actual);
        }
예제 #2
0
        public bool Satisfies(string version)
        {
            var mavenVersionRange = new MavenVersionRange(this.Version);

            return(mavenVersionRange.Satisfies(version));
        }