Exemple #1
0
 public Problem(ProblemKind kind, string type, string description)
 {
     Kind        = kind;
     Type        = type;
     Description = description;
 }
 public static void Setup()
 {
     ProblemInfo = JsonConvert.DeserializeObject <ProblemInfo>(ReadToEnd(Path.Combine(TestCaseDirectory, ProblemInfoFileName)));
     ProblemKind = ProblemInfo.Interactive ? ProblemKind.Interactive : ProblemKind.Normal;
 }
Exemple #3
0
 public Problem(ProblemKind kind, string type, string description)
 {
     Kind = kind;
     Type = type;
     Description = description;
 }
Exemple #4
0
 public Problem(string fmt, IEnumerable <string> memberNames, params object[] values) : base(string.Format(fmt, values), memberNames)
 {
     Kind = ProblemKind.None;
 }
Exemple #5
0
 public Problem(string msg, IEnumerable <string> memberNames) : base(msg, memberNames)
 {
     Kind = ProblemKind.None;
 }
Exemple #6
0
 public Problem(string msg) : base(msg)
 {
     Kind = ProblemKind.None;
 }
Exemple #7
0
 // ctors
 public Problem(string fmt, params object[] values) : base(string.Format(fmt, values))
 {
     Kind = ProblemKind.None;
 }