This document and associated files have been prepared by the National Institute
of Standards and Technology (NIST) and represent draft test materials for the
Election Assistance Commission's next iteration of the VVSG.  It is a
preliminary draft and does not represent a consensus view or recommendation
from NIST, nor does it represent any policy positions of NIST.

######################################################################

           BEGIN TEST CASE OUTPUT   2009-03-19 10:09:01-04

######################################################################

$Id: 0-integrity-ExtraneousInput.sql 95 2007-03-19 13:59:35Z dflater $

Verify that ballots containing votes in contests not authorized
are detected by the integrity check.  The "All results should be
empty" notice does not apply to this test case.  Refer instead to
the "Expected results" printed at the bottom.


$Id: Infrastructure-VoteSchema.sql 475 2008-02-21 20:49:51Z dflater $
$Id: 0-integrity-common.sql 95 2007-03-19 13:59:35Z dflater $
$Id: Infrastructure-IntegrityChecks.sql 281 2007-07-19 15:32:59Z dflater $

----- Begin integrity check output -- All results should be empty -----

  Out Of Range Voter Inputs
 ballotid | choiceid | value 
----------+----------+-------
(0 rows)

Out Of Range Endorsements
 party | choiceid | value 
-------+----------+-------
(0 rows)

      Extraneous Inputs
 ballotid | choiceid | value 
----------+----------+-------
       12 |        4 |     1
(1 row)

Unreported Ballots
 ballotid 
----------
(0 rows)

           Double Votes
 ballotid | choiceid | count | sum 
----------+----------+-------+-----
(0 rows)

                             Cross Contest Aliases
 aliasid | aliasname | aliascontestid | choiceid | choicename | choicecontestid 
---------+-----------+----------------+----------+------------+-----------------
(0 rows)

 Double Indirect Aliases
 aliasid | aliasedaliasid 
---------+----------------
(0 rows)

Ballot Styles With More Than One Straight Party Contest
 styleid 
---------
(0 rows)

Non-Existent Parties In Straight Party Contest
 contestid | name 
-----------+------
(0 rows)

Circular Straight Party Endorsements
 party | choiceid 
-------+----------
(0 rows)

     Endorsed Aliases
 party | choiceid | value 
-------+----------+-------
(0 rows)

        Straight Party Overrides
 ballotid | contestid | choiceid | value 
----------+-----------+----------+-------
(0 rows)

          Too Many Write-Ins
 ballotid | contestid | writeinscount 
----------+-----------+---------------
(0 rows)

----- End integrity check output ---- All results should be empty -----

Expected results:
      Extraneous Inputs
 ballotid | choiceid | value 
----------+----------+-------
       12 |        4 |     1
(1 row)

######################################################################

             END TEST CASE OUTPUT   2009-03-19 10:09:02-04

######################################################################
