Exemplo n.º 1
0
        public void CreateBoolean()
        {
            JsonValue value0 = JsonValue.CreateBoolean(true);
            JsonValue value1 = JsonValue.CreateBoolean(false);

            Assert.AreEqual(JsonValueType.Boolean, value0.Type);
            Assert.AreEqual(JsonValueType.Boolean, value1.Type);
            Assert.AreEqual("true", value0.Raw);
            Assert.AreEqual("false", value1.Raw);
        }