Exemple #1
0
        static void Main()
        {
            List <ExamResult> results = new List <ExamResult>
            {
                new ExamResult {
                    ExamName = ExamName.MATHEMATICS, ExamLevel = ExamLevel.ADVANCED, Result = 90
                },
                new ExamResult {
                    ExamName = ExamName.COMPUTER_SCIENCE, ExamLevel = ExamLevel.ADVANCED, Result = 90
                },
                new ExamResult {
                    ExamName = ExamName.ENGLISH, ExamLevel = ExamLevel.ADVANCED, Result = 90
                }
            };

            InferenceEngine engine = new InferenceEngine();

            InferenceResult result = engine.Run(results);

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());
        }