Skip to content

Instantly share code, notes, and snippets.

@Butter1484
Created May 13, 2017 21:06
Show Gist options
  • Save Butter1484/f668ae51eed202dfa859ed23a5a985a3 to your computer and use it in GitHub Desktop.
Save Butter1484/f668ae51eed202dfa859ed23a5a985a3 to your computer and use it in GitHub Desktop.
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