public void Translate_Versions(SqlServerVersions exptectedVersion, string versionStr) { IVersionTranslator translator = new SqlServerVersionTranslator(); string v = translator.Translate(DependencyVersion.Parse(versionStr)); Assert.True(v == exptectedVersion.ToString()); }
public void Translate_SqlServerVersions(SqlServerVersions version, string expectedVersion) { IVersionTranslator translator = new SqlServerVersionTranslator(); DependencyVersion v = translator.Translate(version.ToString()); Assert.True(v >= DependencyVersion.Parse(expectedVersion)); }