Example #1
0
        protected virtual IEnumerator WriteTestOutput(ArrayGrid <int> map)
        {
            Func <int, int> func           = (int t) => { return(t); };
            string          testOutputPath = "Assets/common/lib/MapGeneration/";
            var             debugOutput    = map.ToData <int, int>(func);

            yield return(WriteToFile(debugOutput, testOutputPath + this.GetType().Name + "_values.txt"));
        }