public void GetHashCode_SameValues_HashCodesAreTheSame()
 => EqualityTester.AssertSameHashCodes <JsonArray>(GetData(), GetReadonlyData());
Exemple #2
0
 public void GetHashCode_SameValues_HashCodesAreTheSame()
 => EqualityTester.AssertSameHashCodes <JsonBool>(true, true);
Exemple #3
0
 public void GetHashCode_SameValues_HashCodesAreTheSame()
 => EqualityTester.AssertSameHashCodes <JsonString>("test", "test");
Exemple #4
0
 public void GetHashCode_SameValuesVariation_HashCodesAreTheSame()
 => EqualityTester.AssertSameHashCodes <JsonObject>(GetDataVariation(), GetDataVariation());
Exemple #5
0
 public void GetHashCode_SameValuesVariation_HashCodesAreTheSame()
 => EqualityTester.AssertSameHashCodes <JsonNumber>(1234.567, 1234.567);
Exemple #6
0
 public void GetHashCode_SameValues_HashCodesAreTheSame()
 => EqualityTester.AssertSameHashCodes <JsonNumber>(25, 25);