Created
May 12, 2015 09:33
-
-
Save BenTristem/958250aab975526adda8 to your computer and use it in GitHub Desktop.
www.CompleteUnityDeveloper.com - Bowlmaster test code
This file contains 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
[Test] | |
public void Dondi10thFrameTurkey () { | |
int[] rolls = {1,1, 1,1, 1,1, 1,1, 1,1, 1,1, 1,1, 1,1, 1,1}; | |
foreach (int roll in rolls) { | |
actionMaster.Bowl (roll); | |
} | |
Assert.AreEqual (reset, actionMaster.Bowl (10)); | |
Assert.AreEqual (reset, actionMaster.Bowl (10)); | |
Assert.AreEqual (endGame, actionMaster.Bowl (10)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment