Open andersfischernielsen opened 3 years ago
Related to/identical to: #80
All implemented features now have tests. On to implementing the remaining functionality, then
points.spec.ts
, harbors.spec.ts
, and trading.spec.ts
are the only files missing tests.
trading.spec.ts
now has tests (22b95f1db13969f38a72b90b33ee6cd57d283309)
Missing:
points.spec.ts
(tests for players gaining most knights and longest road are missing)harbors.spec.ts
(all tests are missing)neighbouringHexCoords
in MatrixCoordinate.ts
currently makes all harbour tests fail, since it's reporting incorrect neighbour hexes.
Tests have been added for harbors.spec.ts
. Only a few tests in points.spec.ts
are missing.
I've encountered players being able to execute a lot of illegal moves (according to the real-world game rules).
We should cover the full ruleset in the
Shared
tests.