示例#1
0
 public void CompareUsingWeakComparison_EquivalentPairs_ReturnTrue(EntityTagHeaderValue left, EntityTagHeaderValue right)
 {
     Assert.True(left.Compare(right, useStrongComparison: false));
     Assert.True(right.Compare(left, useStrongComparison: false));
 }
示例#2
0
 public void CompareUsingStrongComparison_NonEquivalentPairs_ReturnFalse(EntityTagHeaderValue left, EntityTagHeaderValue right)
 {
     Assert.False(left.Compare(right, useStrongComparison: true));
     Assert.False(right.Compare(left, useStrongComparison: true));
 }