Example #1
0
        public void GivenIFormatADependencyWithNoBoundsVerifyRangeNotShown()
        {
            var range = VersionRange.All;

            DiagnosticUtility.FormatDependency("A", range).Should().Be("A");
        }
Example #2
0
 public void GivenIFormatADependencyWithANullRangeVerifyRangeNotShown()
 {
     DiagnosticUtility.FormatDependency("A", range: null).Should().Be("A");
 }
Example #3
0
        public void GivenIFormatADependencyVerifyOutputString()
        {
            var range = VersionRange.Parse("1.0.0");

            DiagnosticUtility.FormatDependency("A", range).Should().Be("A (>= 1.0.0)");
        }