Created
September 17, 2019 23:20
-
-
Save caiobzen/7ec2097b2b907659549013b9dc36f1dc to your computer and use it in GitHub Desktop.
Game Robot test sample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func test_when_scored_on_new_game_reset_score() { | |
robot | |
.swipeLeft() | |
.swipeRight() | |
.swipeUp() | |
.swipeDown() | |
.tapMenu() | |
.tapNewGame() | |
.assertScoreIs(0) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment