Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #1, test the 'undefined when there is no game has been completed
- >(simple-simon 3)
- '(green blue red)
- >(score)
- 'undefined
- **************************************************************************************************
- #2, call the score in the middle of the game
- >(simple-simon 3)
- '(green blue red)
- >(press 'green)
- 'ok
- >(score)
- 'undefined
- *************************************************************************************************
- #3 test the score with the result of the game is 'lose
- >(simple-simon 3)
- '(green red blue)
- >(press red)
- 'lose
- >(score)
- -3
- ******************************************************************************************************
- #4 test the score with the result of the game is 'win
- >(simple-simon 3)
- '(green blue red)
- >(press green)
- 'ok
- >(press blue)
- 'ok
- >(press red)
- 'win
- >(score)
- 3
- ***************************************************************************************************
- #5 test the score in the middle of a new game.
- >(simple-simon 2)
- '(blue red)
- >(press 'green)
- 'lose
- >(simple-simon 3)
- '(red red red)
- >(press 'red)
- 'ok
- >(score)
- -2
- ***********************************************************************************************
- #6 test the scores for different completed games
- >(simple-simon 2)
- '(red red)
- >(press 'green)
- 'lose
- >(score)
- -2
- >(simple-simon 2)
- '(red blue)
- >(press 'red)
- 'ok
- >(press 'blue)
- 'win
- >(score)
- 2
- ********************************************************************************************************
- #7 test the score which is in a uncompleted game,but there is a game has been played.
- >(simple-simon 2)
- '(red blue)
- >(press 'red)
- 'ok
- >(press 'blue)
- 'win
- >(simple-simon 2)
- '(red yellow)
- >(score)
- 2
- *********************************************************************************************************
- #8 test the scores which are in different cinditions
- >(score)
- 'undefined
- >(simple-simon 5)
- '(red blue green yellow red)
- >(press 'blue)
- 'lose
- >(score)
- -5
- *********************************************************************************************************
- #9 test the scores in a single game
- >(simple-simon 3)
- '(red green blue)
- >(press 'red)
- 'ok
- >(score)
- 'undefined
- >(press 'green)
- 'ok
- >(score)
- 'undefined
- >(press 'blue)
- 'win
- >(score)
- 3
- ***************************************************************************************************************
- #10 test the different scores in different games
- >(score)
- 'undefined
- >(simple-simon 3)
- '(red green yellow)
- >(press 'green)
- 'lose
- >(score)
- -3
- >(score)
- -3
- >(simple-simon 2)
- '(red red)
- >(score)
- -3
- >(press 'red)
- 'ok
- >(score)
- -3
- >(press 'red)
- 'win
- >(score)
- 1
- Marks
- Summary
- Submission Rule
- +
- Pencil_delete
- # of Test Cases
- 4.0: Excellent Submission has 10 test cases.
- +
- Pencil_delete
- Correctness of Cases
- 4.0: Excellent 10 test cases are correct.
- +
- Pencil_delete
- Formatting
- 4.0: Excellent 10 test cases are formatted correctly.
- +
- Pencil_delete
- # of Wins/Losses
- 4.0: Excellent More than one test case is a win and more than one test case is a loss.
- +
- Pencil_delete
- Score Check
- 4.0: Excellent Score is checked in every test case.
- +
- Pencil_delete
- Initial Score Check
- 4.0: Excellent Initial score of 'undefined tested at least once.
- +
- Pencil_delete
- Descriptors
- 3.0: Good Descriptors are present and helpful for more than 5 test cases, but not all.
Add Comment
Please, Sign In to add comment