Rock Paper Scissors
- Nada program
- Test - Tie
- Test - Rock wins
- Test - Paper wins
- Test - Scissors wins
src/rock_paper_scissors.py
loading...
tests/rock_paper_scissors_tie.yaml
loading...
tests/rock_paper_scissors_rock.yaml
loading...
tests/rock_paper_scissors_paper.yaml
loading...
tests/rock_paper_scissors_scissors.yaml
loading...
Run and test the rock_paper_scissors program
1. Open "Nada by Example"
2. Run the program with inputs
from the test file
nada run rock_paper_scissors_tie
3. Test the program with inputs
from the test file against the expected_outputs
from the test file
nada test rock_paper_scissors_tie