Created
May 13, 2017 21:06
-
-
Save Butter1484/f668ae51eed202dfa859ed23a5a985a3 to your computer and use it in GitHub Desktop.
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
using System; | |
using System.Collections.Generic; | |
using NUnit.Framework; | |
using UnityEngine; | |
using System.Linq; | |
[TestFixture] | |
public class OurScoreDisplayTest | |
{ | |
[Test] | |
public void T07FullGameTest() | |
{ | |
int[] rolls = { 6, 4, 10, 2, 1, 4, 5, 3, 5, 3, 0, 2, 2, 5, 2, 10, 5, 2 }; | |
string rollsString = "6/X 2145353-2252X 52"; | |
Assert.AreEqual(rollsString, ScoreDisplay.FormatRolls(rolls.ToList())); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment