public void JsonParserConstructorTest() { string json = string.Empty; bool ignorecase = false; JsonParser target = new JsonParser(json, ignorecase); Assert.IsNotNull(target); }
public void DecodeTest() { bool ignorecase = false; string json = JSON.Instance.ToJSON(new TestClass()); JsonParser target = new JsonParser(json, ignorecase); object actual; actual = target.Decode(); Assert.IsTrue(actual != null); json = JSON.Instance.ToJSON(new TestClass2()); target = new JsonParser(json, ignorecase); actual = target.Decode(); Assert.IsTrue(actual != null); }