﻿using System;
namespace CITS.Models
{
    public class MathProblemModel : ProblemModel
    {
        public MathProblemModel(string Problem, string Solution):base(Problem,Solution){}

        public override Boolean IsSolutionCorrect(String candidateSolution)
        {
            return Solution.Equals(candidateSolution.Trim());
        }
    }
}

﻿using System;
using System.Collections.Generic;
namespace CITS.Models
{
    public class MathProblemModel : ProblemModel
    {
        public MathProblemModel(string problem, string solution, List<String> listOfHints):base(problem,solution, listOfHints){}

        public override Boolean IsSolutionCorrect(String candidateSolution)
        {
            return Solution.Equals(candidateSolution.Trim());
        }
    }
}

Support list of hints per problem
Support list of hints per problem
