Регистрация на турнир дуэлей "Бретер".

Diplomacy Adjudicator Test Cases
The results of a set of automated tests which show the webDiplomacy's compliance with the official Diplomacy rules.

This is the output from webDiplomacy's DATC test script, which loads certain tricky scenarios and runs the adjudicator on them, checking to see that the end result is correct. It checks the adjudicator and the client-side order generation code, as all orders have to also be correctly generated in the client-side Javascript.
At the moment only Diplomacy-phase tests are run, and the Retreats and Unit-placement phase tests have not been attempted. (Though these are also expected to pass on the current adjudicator)

'Passed' means that the test passed, matching the DATC rules, 'NotPassed' means the test hasn't been attempted or doesn't pass when attempted (which you shouldn't see on a live server) and 'Invalid' means that the test does not apply to webDiplomacy.
'Invalid' may seem like a cop-out, but many of the DATC tests are designed to test the software's handling of text-based rules. Asking what webDiplomacy does when the user enters a textual order in an odd way makes no sense since webDiplomacy shows the valid orders to the user to be selected from.

Sections

The tests are split into the following sections:

Choices

Some DATC tests may have multiple correct outcomes depending on certain choices made. Show DATC choice details

Tests

6.A. TEST CASES, BASIC CHECKS

Test not passed!

6.A.1 - NotPassed
TEST CASE, MOVING TO AN AREA THAT IS NOT A NEIGHBOUR

Test not passed!

6.A.2 - NotPassed
TEST CASE, MOVE ARMY TO SEA

Test not passed!

6.A.3 - NotPassed
TEST CASE, MOVE FLEET TO LAND

Test not passed!

6.A.4 - NotPassed
TEST CASE, MOVE TO OWN SECTOR

Test not passed!

6.A.5 - NotPassed
TEST CASE, MOVE TO OWN SECTOR WITH CONVOY

(Invalid test)

6.A.6 - Invalid
TEST CASE, ORDERING A UNIT OF ANOTHER COUNTRY

Test not passed!

6.A.7 - NotPassed
TEST CASE, ONLY ARMIES CAN BE CONVOYED

Test not passed!

6.A.8 - NotPassed
TEST CASE, SUPPORT TO HOLD YOURSELF IS NOT POSSIBLE

Test not passed!

6.A.9 - NotPassed
TEST CASE, FLEETS MUST FOLLOW COAST IF NOT ON SEA

Test not passed!

6.A.10 - NotPassed
TEST CASE, SUPPORT ON UNREACHABLE DESTINATION NOT POSSIBLE

Test not passed!

6.A.11 - NotPassed
TEST CASE, SIMPLE BOUNCE

Test not passed!

6.A.12 - NotPassed
TEST CASE, BOUNCE OF THREE UNITS

6.B. TEST CASES, COASTAL ISSUES

Test not passed!

6.B.1 - NotPassed
TEST CASE, MOVING WITH UNSPECIFIED COAST WHEN COAST IS NECESSARY

Test not passed!

6.B.2 - NotPassed
TEST CASE, MOVING WITH UNSPECIFIED COAST WHEN COAST IS NOT NECESSARY

(Invalid test)

6.B.3 - Invalid
TEST CASE, MOVING WITH WRONG COAST WHEN COAST IS NOT NECESSARY

Test not passed!

6.B.4 - NotPassed
TEST CASE, SUPPORT TO UNREACHABLE COAST ALLOWED

Test not passed!

6.B.5 - NotPassed
TEST CASE, SUPPORT FROM UNREACHABLE COAST NOT ALLOWED

Test not passed!

6.B.6 - NotPassed
TEST CASE, SUPPORT CAN BE CUT WITH OTHER COAST

(Invalid test)

6.B.7 - Invalid
TEST CASE, SUPPORTING WITH UNSPECIFIED COAST

(Invalid test)

6.B.8 - Invalid
TEST CASE, SUPPORTING WITH UNSPECIFIED COAST WHEN ONLY ONE COAST IS POSSIBLE

(Invalid test)

6.B.9 - Invalid
TEST CASE, SUPPORTING WITH WRONG COAST

(Invalid test)

6.B.10 - Invalid
TEST CASE, UNIT ORDERED WITH WRONG COAST

(Invalid test)

6.B.11 - Invalid
TEST CASE, COAST CAN NOT BE ORDERED TO CHANGE

(Invalid test)

6.B.12 - Invalid
TEST CASE, ARMY MOVEMENT WITH COASTAL SPECIFICATION

Test not passed!

6.B.13 - NotPassed
TEST CASE, COASTAL CRAWL NOT ALLOWED

(Invalid test)

6.B.14 - Invalid
TEST CASE, BUILDING WITH UNSPECIFIED COAST

6.C. TEST CASES, CIRCULAR MOVEMENT

Test not passed!

6.C.1 - NotPassed
TEST CASE, THREE ARMY CIRCULAR MOVEMENT

Test not passed!

6.C.2 - NotPassed
TEST CASE, THREE ARMY CIRCULAR MOVEMENT WITH SUPPORT

Test not passed!

6.C.3 - NotPassed
TEST CASE, A DISRUPTED THREE ARMY CIRCULAR MOVEMENT

Test not passed!

6.C.4 - NotPassed
TEST CASE, A CIRCULAR MOVEMENT WITH ATTACKED CONVOY

Test not passed!

6.C.5 - NotPassed
TEST CASE, A DISRUPTED CIRCULAR MOVEMENT DUE TO DISLODGED CONVOY

Test not passed!

6.C.6 - NotPassed
TEST CASE, TWO ARMIES WITH TWO CONVOYS

Test not passed!

6.C.7 - NotPassed
TEST CASE, DISRUPTED UNIT SWAP

6.D. TEST CASES, SUPPORTS AND DISLODGES

Test not passed!

6.D.1 - NotPassed
TEST CASE, SUPPORTED HOLD CAN PREVENT DISLODGEMENT

Test not passed!

6.D.2 - NotPassed
TEST CASE, A MOVE CUTS SUPPORT ON HOLD

Test not passed!

6.D.3 - NotPassed
TEST CASE, A MOVE CUTS SUPPORT ON MOVE

Test not passed!

6.D.4 - NotPassed
TEST CASE, SUPPORT TO HOLD ON UNIT SUPPORTING A HOLD ALLOWED

Test not passed!

6.D.5 - NotPassed
TEST CASE, SUPPORT TO HOLD ON UNIT SUPPORTING A MOVE ALLOWED

Test not passed!

6.D.6 - NotPassed
TEST CASE, SUPPORT TO HOLD ON CONVOYING UNIT ALLOWED

Test not passed!

6.D.7 - NotPassed
TEST CASE, SUPPORT TO HOLD ON MOVING UNIT NOT ALLOWED

Test not passed!

6.D.8 - NotPassed
TEST CASE, FAILED CONVOY CAN NOT RECEIVE HOLD SUPPORT

Test not passed!

6.D.9 - NotPassed
TEST CASE, SUPPORT TO MOVE ON HOLDING UNIT NOT ALLOWED

Test not passed!

6.D.10 - NotPassed
TEST CASE, SELF DISLODGMENT PROHIBITED

Test not passed!

6.D.11 - NotPassed
TEST CASE, NO SELF DISLODGMENT OF RETURNING UNIT

Test not passed!

6.D.12 - NotPassed
TEST CASE, SUPPORTING A FOREIGN UNIT TO DISLODGE OWN UNIT PROHIBITED

Test not passed!

6.D.13 - NotPassed
TEST CASE, SUPPORTING A FOREIGN UNIT TO DISLODGE A RETURNING OWN UNIT PROHIBITED

Test not passed!

6.D.14 - NotPassed
TEST CASE, SUPPORTING A FOREIGN UNIT IS NOT ENOUGH TO PREVENT DISLODGEMENT

Test not passed!

6.D.15 - NotPassed
TEST CASE, DEFENDER CAN NOT CUT SUPPORT FOR ATTACK ON ITSELF

Test not passed!

6.D.16 - NotPassed
TEST CASE, CONVOYING A UNIT DISLODGING A UNIT OF SAME POWER IS ALLOWED

Test not passed!

6.D.17 - NotPassed
TEST CASE, DISLODGEMENT CUTS SUPPORTS

Test not passed!

6.D.18 - NotPassed
TEST CASE, A SURVIVING UNIT WILL SUSTAIN SUPPORT

Test not passed!

6.D.19 - NotPassed
TEST CASE, EVEN WHEN SURVIVING IS IN ALTERNATIVE WAY

Test not passed!

6.D.20 - NotPassed
TEST CASE, UNIT CAN NOT CUT SUPPORT OF ITS OWN COUNTRY

Test not passed!

6.D.21 - NotPassed
TEST CASE, DISLODGING DOES NOT CANCEL A SUPPORT CUT

Test not passed!

6.D.22 - NotPassed
TEST CASE, IMPOSSIBLE FLEET MOVE CAN NOT BE SUPPORTED

Test not passed!

6.D.23 - NotPassed
TEST CASE, IMPOSSIBLE COAST MOVE CAN NOT BE SUPPORTED

Test not passed!

6.D.24 - NotPassed
TEST CASE, IMPOSSIBLE ARMY MOVE CAN NOT BE SUPPORTED

Test not passed!

6.D.25 - NotPassed
TEST CASE, FAILING HOLD SUPPORT CAN BE SUPPORTED

Test not passed!

6.D.26 - NotPassed
TEST CASE, FAILING MOVE SUPPORT CAN BE SUPPORTED

Test not passed!

6.D.27 - NotPassed
TEST CASE, FAILING CONVOY CAN BE SUPPORTED

Test not passed!

6.D.28 - NotPassed
TEST CASE, IMPOSSIBLE MOVE AND SUPPORT

Test not passed!

6.D.29 - NotPassed
TEST CASE, MOVE TO IMPOSSIBLE COAST AND SUPPORT

Test not passed!

6.D.30 - NotPassed
TEST CASE, MOVE WITHOUT COAST AND SUPPORT

Test not passed!

6.D.31 - NotPassed
TEST CASE, A TRICKY IMPOSSIBLE SUPPORT

(Invalid test)

6.D.32 - Invalid
TEST CASE, A MISSING FLEET

Test not passed!

6.D.33 - NotPassed
TEST CASE, UNWANTED SUPPORT ALLOWED

Test not passed!

6.D.34 - NotPassed
TEST CASE, SUPPORT TARGETING OWN AREA NOT ALLOWED

6.E. TEST CASES, HEAD TO HEAD BATTLES AND BELEAGUERED GARRISON

Test not passed!

6.E.1 - NotPassed
TEST CASE, DISLODGED UNIT HAS NO EFFECT ON ATTACKERS AREA

Test not passed!

6.E.2 - NotPassed
TEST CASE, NO SELF DISLODGEMENT IN HEAD TO HEAD BATTLE

Test not passed!

6.E.3 - NotPassed
TEST CASE, NO HELP IN DISLODGING OWN UNIT

Test not passed!

6.E.4 - NotPassed
TEST CASE, NON-DISLODGED LOSER HAS STILL EFFECT

Test not passed!

6.E.5 - NotPassed
TEST CASE, LOSER DISLODGED BY ANOTHER ARMY HAS STILL EFFECT

Test not passed!

6.E.6 - NotPassed
TEST CASE, NOT DISLODGE BECAUSE OF OWN SUPPORT HAS STILL EFFECT

Test not passed!

6.E.7 - NotPassed
TEST CASE, NO SELF DISLODGEMENT WITH BELEAGUERED GARRISON

Test not passed!

6.E.8 - NotPassed
TEST CASE, NO SELF DISLODGEMENT WITH BELEAGUERED GARRISON AND HEAD TO HEAD BATTLE

Test not passed!

6.E.9 - NotPassed
TEST CASE, ALMOST SELF DISLODGEMENT WITH BELEAGUERED GARRISON

Test not passed!

6.E.10 - NotPassed
TEST CASE, ALMOST CIRCULAR MOVEMENT WITH NO SELF DISLODGEMENT WITH BELEAGUERED GARRISON

Test not passed!

6.E.11 - NotPassed
TEST CASE, NO SELF DISLODGEMENT WITH BELEAGUERED GARRISON, UNIT SWAP WITH ADJACENT CONVOYING AND TWO COASTS

Test not passed!

6.E.12 - NotPassed
TEST CASE, SUPPORT ON ATTACK ON OWN UNIT CAN BE USED FOR OTHER MEANS

Test not passed!

6.E.13 - NotPassed
TEST CASE, THREE WAY BELEAGUERED GARRISON

Test not passed!

6.E.14 - NotPassed
TEST CASE, ILLEGAL HEAD TO HEAD BATTLE CAN STILL DEFEND

Test not passed!

6.E.15 - NotPassed
TEST CASE, THE FRIENDLY HEAD TO HEAD BATTLE

6.F. TEST CASES, CONVOYS

Test not passed!

6.F.1 - NotPassed
TEST CASE, NO CONVOY IN COASTAL AREAS

Test not passed!

6.F.2 - NotPassed
TEST CASE, AN ARMY BEING CONVOYED CAN BOUNCE AS NORMAL

Test not passed!

6.F.3 - NotPassed
TEST CASE, AN ARMY BEING CONVOYED CAN RECEIVE SUPPORT

Test not passed!

6.F.4 - NotPassed
TEST CASE, AN ATTACKED CONVOY IS NOT DISRUPTED

Test not passed!

6.F.5 - NotPassed
TEST CASE, A BELEAGUERED CONVOY IS NOT DISRUPTED

Test not passed!

6.F.6 - NotPassed
TEST CASE, DISLODGED CONVOY DOES NOT CUT SUPPORT

(Invalid test)

6.F.7 - Invalid
TEST CASE, DISLODGED CONVOY DOES NOT CAUSE CONTESTED AREA

Test not passed!

6.F.8 - NotPassed
TEST CASE, DISLODGED CONVOY DOES NOT CAUSE A BOUNCE

Test not passed!

6.F.9 - NotPassed
TEST CASE, DISLODGE OF MULTI-ROUTE CONVOY

Test not passed!

6.F.10 - NotPassed
TEST CASE, DISLODGE OF MULTI-ROUTE CONVOY WITH FOREIGN FLEET

Test not passed!

6.F.11 - NotPassed
TEST CASE, DISLODGE OF MULTI-ROUTE CONVOY WITH ONLY FOREIGN FLEETS

Test not passed!

6.F.12 - NotPassed
TEST CASE, DISLODGED CONVOYING FLEET NOT ON ROUTE

Test not passed!

6.F.13 - NotPassed
TEST CASE, THE UNWANTED ALTERNATIVE

Test not passed!

6.F.14 - NotPassed
TEST CASE, SIMPLE CONVOY PARADOX

Test not passed!

6.F.15 - NotPassed
TEST CASE, SIMPLE CONVOY PARADOX WITH ADDITIONAL CONVOY

Test not passed!

6.F.16 - NotPassed
TEST CASE, PANDIN'S PARADOX

Test not passed!

6.F.17 - NotPassed
TEST CASE, PANDIN'S EXTENDED PARADOX

Test not passed!

6.F.18 - NotPassed
TEST CASE, BETRAYAL PARADOX

Test not passed!

6.F.19 - NotPassed
TEST CASE, MULTI-ROUTE CONVOY DISRUPTION PARADOX

Test not passed!

6.F.20 - NotPassed
TEST CASE, UNWANTED MULTI-ROUTE CONVOY PARADOX

Test not passed!

6.F.21 - NotPassed
TEST CASE, DAD'S ARMY CONVOY

Test not passed!

6.F.22 - NotPassed
TEST CASE, SECOND ORDER PARADOX WITH TWO RESOLUTIONS

Test not passed!

6.F.23 - NotPassed
TEST CASE, SECOND ORDER PARADOX WITH TWO EXCLUSIVE CONVOYS

Test not passed!

6.F.24 - NotPassed
TEST CASE, SECOND ORDER PARADOX WITH NO RESOLUTION

6.G. TEST CASES, CONVOYING TO ADJACENT PLACES

Test not passed!

6.G.1 - NotPassed
TEST CASE, TWO UNITS CAN SWAP PLACES BY CONVOY

Test not passed!

6.G.2 - NotPassed
TEST CASE, KIDNAPPING AN ARMY

Test not passed!

6.G.3 - NotPassed
TEST CASE, KIDNAPPING WITH A DISRUPTED CONVOY

Test not passed!

6.G.4 - NotPassed
TEST CASE, KIDNAPPING WITH A DISRUPTED CONVOY AND OPPOSITE MOVE

(Invalid test)

6.G.5 - Invalid
TEST CASE, SWAPPING WITH INTENT

(Invalid test)

6.G.6 - Invalid
TEST CASE, SWAPPING WITH UNINTENDED INTENT

(Invalid test)

6.G.7 - Invalid
TEST CASE, SWAPPING WITH ILLEGAL INTENT

Test not passed!

6.G.8 - NotPassed
TEST CASE, EXPLICIT CONVOY THAT ISN'T THERE

(Invalid test)

6.G.9 - Invalid
TEST CASE, SWAPPED OR DISLODGED?

Test not passed!

6.G.10 - NotPassed
TEST CASE, SWAPPED OR AN HEAD TO HEAD BATTLE?

Test not passed!

6.G.11 - NotPassed
TEST CASE, A CONVOY TO AN ADJACENT PLACE WITH A PARADOX

Test not passed!

6.G.12 - NotPassed
TEST CASE, SWAPPING TWO UNITS WITH TWO CONVOYS

Test not passed!

6.G.13 - NotPassed
TEST CASE, SUPPORT CUT ON ATTACK ON ITSELF VIA CONVOY

Test not passed!

6.G.14 - NotPassed
TEST CASE, BOUNCE BY CONVOY TO ADJACENT PLACE

Test not passed!

6.G.15 - NotPassed
TEST CASE, BOUNCE AND DISLODGE WITH DOUBLE CONVOY

Test not passed!

6.G.16 - NotPassed
TEST CASE, THE TWO UNIT IN ONE AREA BUG, MOVING BY CONVOY

Test not passed!

6.G.17 - NotPassed
TEST CASE, THE TWO UNIT IN ONE AREA BUG, MOVING OVER LAND

Test not passed!

6.G.18 - NotPassed
TEST CASE, THE TWO UNIT IN ONE AREA BUG, WITH DOUBLE CONVOY

webDip intro webDiplomacy introduction image generating tests

Test not passed!

wD.Intro.1 - NotPassed
webDiplomacy introduction page example scenarios: Hold.

Test not passed!

wD.Intro.2 - NotPassed
webDiplomacy introduction page example scenarios: Move.

Test not passed!

wD.Intro.3 - NotPassed
webDiplomacy introduction page example scenarios: Support move.

Test not passed!

wD.Intro.4 - NotPassed
webDiplomacy introduction page example scenarios: Support move vs support hold.

Test not passed!

wD.Intro.5 - NotPassed
webDiplomacy introduction page example scenarios: Convoy.

Test not passed!

wD.Intro.6 - NotPassed
webDiplomacy introduction page example scenarios: Defend.

Test not passed!

wD.Intro.7 - NotPassed
webDiplomacy introduction page example scenarios: Bounce.

Test not passed!

wD.Intro.8 - NotPassed
webDiplomacy introduction page example scenarios: Support moves.

Test not passed!

wD.Intro.9 - NotPassed
webDiplomacy introduction page example scenarios: Support moves vs support holds deadlock.

Test not passed!

wD.Intro.10 - NotPassed
webDiplomacy introduction page example scenarios: Support move attacked

Test not passed!

wD.Intro.11 - NotPassed
webDiplomacy introduction page example scenarios: Support hold and move attacked

Test not passed!

wD.Intro.12 - NotPassed
webDiplomacy introduction page example scenarios: Complex scenario 1

webDip tests webDiplomacy specific test cases

Test not passed!

wD.Test.1 - NotPassed
Testing the maximum sized convoy for this map.