public void EqualsBool_SameValues_True() => EqualityTester.AssertEquals <JsonBool, bool>(true, true);
public void EqualsObject_SameValues_True() => EqualityTester.AssertEquals <JsonString>("test", new JsonString("test"));
public void EqualsJsonBool_SameInstance_True() { JsonBool obj = true; EqualityTester.AssertEquals(obj, obj); }
public void EqualsString_SameValues_True() => EqualityTester.AssertEquals <JsonString, string>("test", "test");
public void EqualsObject_SameInstance_True() { JsonString obj = "test"; EqualityTester.AssertEquals <JsonString>(obj, obj); }
public void EqualsObject_SameInstance_True() { JsonObject obj = GetData(); EqualityTester.AssertEquals <JsonObject>(obj, obj); }
public void EqualsObject_SameValuesVariation_True() => EqualityTester.AssertEquals <JsonObject>(GetDataVariation(), new JsonObject(GetDataVariation()));
public void EqualsObject_SameInstance_True() { JsonNumber obj = 1; EqualityTester.AssertEquals <JsonNumber>(obj, obj); }
public void EqualsDouble_SameValues_True() => EqualityTester.AssertEquals <JsonNumber, double>(25, 25);
public void EqualsJsonNumber_SameValues_True() => EqualityTester.AssertEquals <JsonNumber, JsonNumber>(25, 25);
public void EqualsJsonNumber_SameInstance_True() { JsonNumber obj = 1; EqualityTester.AssertEquals(obj, obj); }
public void EqualsObject_SameValues_True() => EqualityTester.AssertEquals <JsonNumber>(25, new JsonNumber(25));