Skip to content

Commit 28d55bc

Browse files
committed
fixing typos in QuantityComparisonTests
fixing GetHashCode typos
1 parent 14559d5 commit 28d55bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

UnitsNet.Tests/QuantityComparisonTests.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public void Equals_WithVeryCloseQuantityInSameUnit_ReturnsFalse()
4848
}
4949

5050
[Fact]
51-
public void GetHasCode_WithSameQuantityInAnotherUnit_ReturnsSameValue()
51+
public void GetHashCode_WithSameQuantityInAnotherUnit_ReturnsSameValue()
5252
{
5353
var firstMass = Mass.FromGrams(0.001);
5454
var secondMass = firstMass.ToUnit(MassUnit.Microgram);
@@ -57,7 +57,7 @@ public void GetHasCode_WithSameQuantityInAnotherUnit_ReturnsSameValue()
5757
}
5858

5959
[Fact]
60-
public void GetHasCode_WithVeryCloseQuantities_ReturnsSameValue()
60+
public void GetHashCode_WithVeryCloseQuantities_ReturnsSameValue()
6161
{
6262
var firstMass = Mass.FromGrams(0);
6363
var secondMass = Mass.FromGrams(double.Epsilon);

0 commit comments

Comments
 (0)