Esempio n. 1
0
        private static string BuildMessage(Results results)
        {
            var sb = new StringBuilder();

            sb.AppendLine($"Experiment {results.Name} observations mismatched:");
            sb.AppendLine($"  Control: {results.Control.Result}");
            sb.AppendLine($"  Trial: {results.Trial.Result}");

            return sb.ToString();
        }
Esempio n. 2
0
 public MismatchException(Results results)
     : base(BuildMessage(results))
 {
 }
Esempio n. 3
0
 public MismatchException(Results results)
     : base(BuildMessage(results))
 {
 }