Exemplo n.º 1
0
        public void CheckSupportedSdkVersion(string version, bool isSupported)
        {
            if (!DotNetCoreVersion.TryParse(version, out var dotnetCoreVersion))
            {
                Assert.Inconclusive("Unable to parse {0}", version);
            }

            var result = DotNetCoreVersion.IsSdkSupported(dotnetCoreVersion);

            Assert.True(result == isSupported);
        }