-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomers
Description
Task
Write unit tests for the jam_to_js function in jam.py using pytest.
Goal
We want to ensure the transpiler is working as expected with a variety of input cases.
Suggested Approach
- Create a
tests/directory. - Add a file named
test_transpiler.py. - Write tests for:
- Basic math expressions
- Variable declarations
- Simple control flow (
if,repeat)
Requirements
- Basic knowledge of Python and
pytest - Familiarity with writing unit tests
References
You can refer to the pytest documentation for help.
Difficulty
Beginner
If you're new to open source, check out our Contributing Guide. Feel free to ask questions in our Discord: https://discord.gg/GgB8hbvR
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomers