Skip to content

Commit

Permalink
docs: update TESTING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dvfrancis committed Nov 1, 2024
1 parent d8d024e commit 6684d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ Below are the results of JavaScript validation for each script file, using [JSHi
| ITEM | PROCESS | EXPECTED RESULT | ACTUAL RESULT | STATUS |
| --- | --- | --- | --- | --- |
| Function `displayPoints()` | Read `playerPoints` and display on game.html | The player's points are shown on game.html | The player's points are shown on game.html | WORKS AS EXPECTED |
| Function `decideAces()` | Generate a True or False value, store as "HIGH" or "LOW", and pass value when calling amendCardsObject | acesValue stores "HIGH" or "LOW" and this is passed to `amendCardsObject()` | acesValue stores "HIGH" or "LOW" and this is passed to `amendCardsObject()` | WORKS AS EXPECTED |
| Function `decideAces()` | Generate a True or False value, store as "HIGH" or "LOW", and pass value when calling `amendCardsObject()` | acesValue stores "HIGH" or "LOW" and this is passed to `amendCardsObject()` | acesValue stores "HIGH" or "LOW" and this is passed to `amendCardsObject()` | WORKS AS EXPECTED |
| Function `amendCardsObject()` | Update `cardsObject` so the value of any Aces are either 1 or 14 | `cardsObject` contains Aces that have a value of either 1 or 14 | `cardsObject` contains Aces that have a value of either 1 or 14 | WORKS AS EXPECTED |
| Function `displayAces()` | Read `acesValue` and display on game.html | "ACES ARE LOW" or "ACES ARE HIGH" is displayed on game.html | "ACES ARE LOW" or "ACES ARE HIGH" is displayed on game.html | WORKS AS EXPECTED |
| Function `createModal()` | Create and store a Bootstrap modal dialog, insert at the end of the HTML file | The modal is inserted into the HTML, and `messageModal` contains a DOM reference to the newly created modal | The modal is inserted into the HTML, and `messageModal` contains a DOM reference to the newly created modal | WORKS AS EXPECTED |
Expand Down

0 comments on commit 6684d39

Please sign in to comment.