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