예제 #1
0
 public void tally(Counts source)
 {
     right      += source.right;
     wrong      += source.wrong;
     ignores    += source.ignores;
     exceptions += source.exceptions;
 }
예제 #2
0
파일: Counts.cs 프로젝트: juherr/fit
 public void tally(Counts source)
 {
     right += source.right;
     wrong += source.wrong;
     ignores += source.ignores;
     exceptions += source.exceptions;
 }
예제 #3
0
파일: Summary.cs 프로젝트: juherr/fit
 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;
 }
예제 #4
0
파일: Summary.cs 프로젝트: juherr/fit
        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;
        }