Exemplo n.º 1
0
 public void compare_string_json_values()
 {
     JsonValue value1 = new JsonValue("test"), value2 = new JsonValue("test");
     value1.ShouldEqual(value2);
 }
Exemplo n.º 2
0
 public void compare_string_and_data_json_values()
 {
     JsonValue value1 = new JsonValue("2000-01-01"), value2 = new JsonValue(new DateTime(2000, 1, 1));
     value1.ShouldEqual(value2);
 }
Exemplo n.º 3
0
 public void compare_int_json_values()
 {
     JsonValue value1 = new JsonValue(100), value2 = new JsonValue(100);
     value1.ShouldEqual(value2);
 }
Exemplo n.º 4
0
 public void compare_null_json_values()
 {
     JsonValue value1 = new JsonValue(), value2 = new JsonValue();
     value1.ShouldEqual(value2);
 }
Exemplo n.º 5
0
 public void compare_float_json_values()
 {
     JsonValue value1 = new JsonValue(1.1), value2 = new JsonValue(1.1);
     value1.ShouldEqual(value2);
 }