Example #1
0
        public void GlobalSetup()
        {
            JsonStringSolution root = null;

            switch (testcase)
            {
            case Testcase.givenValues: root = givenTest; break;

            case Testcase.depth5: root = generateDepth(5); break;

            case Testcase.depth10: root = generateDepth(10); break;

            case Testcase.depth15: root = generateDepth(15); break;
            }

            jsonString = BinaryTreeNode <JsonStringSolution> .CreateFrom <JsonStringSolution, JsonStringSolution>(root);

            sExps = BinaryTreeNode <SExpsSolution> .CreateFrom <JsonStringSolution, SExpsSolution>(root);
        }