\i Infrastructure-TestHeader.sql

\echo '$Id: 0-integrity-CircularEndorsement.sql 95 2007-03-19 13:59:35Z dflater $'
\echo
\echo 'Verify that straight party contests that are straight-party-votable'
\echo 'are detected by the integrity check.  The "All results should be'
\echo 'empty" notice does not apply to this test case.  Refer instead to the'
\echo '"Expected results" printed at the bottom.'

\i 0-integrity-common.sql

insert into Endorsement (Party, ChoiceId, Value) values
  ('Bipartisan Party', 9, 1);

\i Infrastructure-IntegrityChecks.sql

\echo 'Expected results:'
\echo 'Circular Straight Party Endorsements'
\echo '      party       | choiceid '
\echo '------------------+----------'
\echo ' Bipartisan Party |        9'
\echo '(1 row)'

\i Infrastructure-TestFooter.sql
