Esempio n. 1
0
 public void tally(Counts source)
 {
     right      += source.right;
     wrong      += source.wrong;
     ignores    += source.ignores;
     exceptions += source.exceptions;
 }
Esempio n. 2
0
File: Counts.cs Progetto: juherr/fit
 public void tally(Counts source)
 {
     right += source.right;
     wrong += source.wrong;
     ignores += source.ignores;
     exceptions += source.exceptions;
 }
Esempio n. 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;
 }
Esempio n. 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;
        }