public void Serrializer_Returns_Output()
        {
            var serr = new OutputDataSerializer();

            var output = serr.GetSerrializedOutput(new OutputData());

            Assert.IsNotNull(output);
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            var inputDataPath = ConfigurationManager.AppSettings[InputDataPathKey];
            var outputDataPath = ConfigurationManager.AppSettings[OutputDataPathKey];

            var input = File.ReadAllText(inputDataPath);
            var inputData = new InputDataParser().GetParsedModel(input);

            var outputData = new TaskSolver().GetOutputData(inputData);
            var output = new OutputDataSerializer().GetSerializedOutput(outputData);

            File.WriteAllText(outputDataPath, output);

            Console.Write(output);
        }