Module talk:Class mask/testcases3

Tests 1a

edit

Fully complete checklist, all criteria passing -> autopromote from C to B

{{Class mask|C|b1=y |b2=y |b3=yes |b4=y |b5=y |b6=1}}
{{Class mask|C|b1=y |b2=y |b3=yes |b4=y |b5=y}}

Tests 1b

edit

Fully complete checklist, all criteria passing -> B grade upheld

{{Class mask|b|b1=y |b2=y |b3=yes |b4=y |b5=y |b6=1}}
{{Class mask|B|b1=y |b2=y |b3=yes |b4=y |b5=y}}

Tests 2a

edit

Incomplete or partially complete checklist -> C-class upheld

{{Class mask|C|b1=y |b2= |b3=y |b4=n |b5=y}}
{{Class mask|C|b1=no |b2= |b3=y |b4=n |b5=0 |b6=yes}}
{{Class mask|C|b1= |b2= |b3= |b4= |b5=}}

Tests 2b

edit

Incomplete or partially complete checklist, grade B entered -> defer to input grade

{{Class mask|b|b1=y |b2=dont know |b3= |b4= |b5= |b6=}}
{{Class mask|b|b1= |b2= |b3= |b4= |b5= |b6=}}

Tests 2c

edit

Incomplete or partially complete checklist, some criteria marked failed -> autodemote from B to C

{{Class mask|b|b1=y |b2= |b3=y |b4=n |b5=y}}
{{Class mask|b|b1=no |b2= |b3=y |b4=n |b5=0 |b6=yes}}

Tests 3a

edit

Fully complete checklist, not all criteria passing -> C class upheld

{{Class mask|C|b1=y |b2=n |b3=y |b4=n |b5=y |b6=y}}

Tests 3b

edit

Fully complete checklist, not all criteria passing -> autodemote from B to C class

{{Class mask|b|b1=y |b2=n |b3=y |b4=n |b5=y |b6=y}}

Tests 4

edit

Other grade entered -> ignore checklist and give input grade

{{Class mask|start|b1=y |b2=n |b3=y |b4=n |b5=y |b6=y}}
{{Class mask|fa|b1=y |b2= |b3= |b4=y |b5=y |b6=y}}

Test 5

edit

Invalid input -> treat as unchecked and defer to input

{{Class mask|b|b1=woo |b2=bar |b3=y |b4=nope |b5=y |b6=y}}

Test 6

edit

One criterion is marked not applicable. Treat it as passed and output B-class.

{{Class mask|C|b1=y |b2=y |b3=yes |b4=na |b5=y |b6=1}}
{{Class mask|b|b1=y |b2=y |b3=yes |b4=na |b5=y |b6=1}}

Test 7

edit

Checklist not in use, use input grade.

{{Class mask|C}}
{{Class mask|b}}