public void compare_empty_arrays() { JsonArray array1 = new JsonArray(), array2 = new JsonArray(); array1.ShouldEqual(array2); }
public void compare_jagged_arrays() { JsonArray array1 = new JsonArray(new[] { new object[0], new object[] { 1 }, new object[] { 1, 2 } }), array2 = new JsonArray(new[] { new object[0], new object[] { 1 }, new object[] { 1, 2 } }); array1.ShouldEqual(array2); }
public void compare_arrays() { JsonArray array1 = new JsonArray(new[] { 1, 2, 3 }), array2 = new JsonArray(new[] { 1, 2, 3 }); array1.ShouldEqual(array2); }