예제 #1
0
        public void ParseJSON()
        {
            string json = EffectJSONParser.ReadJSON("Assets/effects.json");
            List <ParsedEffect> list = EffectJSONParser.ParseJSON(json);

            Assert.Greater(list.Count, 0);
        }
예제 #2
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);
        }
예제 #3
0
        public void ReadJSONFile()
        {
            string json = EffectJSONParser.ReadJSON("Assets/effects.json");

            Assert.Greater(json.Length, 0);
        }