Example #1
0
 public void tally(Counts source)
 {
     right      += source.right;
     wrong      += source.wrong;
     ignores    += source.ignores;
     exceptions += source.exceptions;
 }
Example #2
0
File: Counts.cs Project: juherr/fit
 public void tally(Counts source)
 {
     right += source.right;
     wrong += source.wrong;
     ignores += source.ignores;
     exceptions += source.exceptions;
 }
Example #3
0
 protected virtual void mark(Parse row)
 {
     // mark summary good/bad without counting beyond here
     Counts official = counts;
     counts = new Counts();
     Parse cell = row.parts.more;
     if (official.wrong + official.exceptions > 0) {
         wrong(cell);
     } else {
         right(cell);
     }
     counts = official;
 }
Example #4
0
        protected virtual void mark(Parse row)
        {
            // mark summary good/bad without counting beyond here
            Counts official = counts;

            counts = new Counts();
            Parse cell = row.parts.more;

            if (official.wrong + official.exceptions > 0)
            {
                wrong(cell);
            }
            else
            {
                right(cell);
            }
            counts = official;
        }