Skip to content

Commit

Permalink
Comment out tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tleed5 committed Jan 11, 2024
1 parent 23594b6 commit 73a249d
Showing 1 changed file with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,22 @@ public class UnsortableVersionCompareTests
// Assert.AreEqual(result, parsedVersion1.CompareTo(parsedVersion2));
// }

[Test]
[TestCase("release-1", "release-1", true)]
[TestCase("release-1", "release-2", false)]
public void TestEquality(string version1, string version2, bool result)
{
var parsedVersion1 = UnsortableVersionParser.Parse(version1);
var parsedVersion2 = UnsortableVersionParser.Parse(version2);
Assert.AreEqual(result, Equals(parsedVersion1, parsedVersion2));
}

[Test]
public void TestGetHashCode()
{
var versionString = "release-1";
var parsedVersion = UnsortableVersionParser.Parse(versionString);

Assert.AreEqual(versionString.GetHashCode(), parsedVersion.GetHashCode());
}
// [Test]
// [TestCase("release-1", "release-1", true)]
// [TestCase("release-1", "release-2", false)]
// public void TestEquality(string version1, string version2, bool result)
// {
// var parsedVersion1 = UnsortableVersionParser.Parse(version1);
// var parsedVersion2 = UnsortableVersionParser.Parse(version2);
// Assert.AreEqual(result, Equals(parsedVersion1, parsedVersion2));
// }
//
// [Test]
// public void TestGetHashCode()
// {
// var versionString = "release-1";
// var parsedVersion = UnsortableVersionParser.Parse(versionString);
//
// Assert.AreEqual(versionString.GetHashCode(), parsedVersion.GetHashCode());
// }
}

0 comments on commit 73a249d

Please sign in to comment.