public void ParseJSON() { string json = EffectJSONParser.ReadJSON("Assets/effects.json"); List <ParsedEffect> list = EffectJSONParser.ParseJSON(json); Assert.Greater(list.Count, 0); }
public void ConvertJSON() { string json = EffectJSONParser.ReadJSON("Assets/effects.json"); List <ParsedEffect> list = EffectJSONParser.ParseJSON(json); List <EffectData> effects = EffectJSONParser.ConvertParsedJSON(list); Assert.Greater(effects.Count, 0); }
public void ReadJSONFile() { string json = EffectJSONParser.ReadJSON("Assets/effects.json"); Assert.Greater(json.Length, 0); }