public void VersionRequirement_Parse_Empty()
 {
     Assert.Throws <ArgumentException>(() => VersionRequirement.Parse(""));
 }
        public void VersionRequirement_Parse_NoComparer()
        {
            var expected = new VersionRequirement(Version.Parse("1.0"), CompareType.EqualTo);

            Assert.AreEqual(expected, VersionRequirement.Parse("1.0"));
        }
 public void VersionRequirement_Parse_Null()
 {
     Assert.Throws <ArgumentNullException>(() => VersionRequirement.Parse(null));
 }
        public void VersionRequirement_Parse_NormalInputs(CompareType type, string comparerString)
        {
            var expected = new VersionRequirement(Version.Parse("1.0"), type);

            Assert.AreEqual(expected, VersionRequirement.Parse($"{comparerString}1.0"));
        }