Skip to content

Commit

Permalink
Tests(DPxAI): Add test for Quest01 declare-everything
Browse files Browse the repository at this point in the history
  • Loading branch information
lotoussa authored and Oumaimafisaoui committed Aug 30, 2024
1 parent 96f2467 commit e61be9a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions js/tests/declare-everything_test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"description": "As a number, seven value is 7",
"code": "equal(Number(seven), 7)"
},
{
"description": "As a number, seventySeven value is 77",
"code": "equal(Number(seventySeven), 77)"
},
{
"description": "Somehow, the type of seven and seventySeven value must be strings",
"code": "equal(typeof seven, 'string')\nequal(typeof seventySeven, 'string')"
}
]

0 comments on commit e61be9a

Please sign in to comment.