예제 #1
0
        public void Tableau_WhenTableauHasZeroStacks()
        {
            var emptyTableau = new Tableau();

            Assert.AreEqual(1, emptyTableau.GetHighestAge());
            Assert.AreEqual(0, emptyTableau.GetScore());

            Assert.AreEqual(0, emptyTableau.GetSymbolCount(Symbol.Blank));
            Assert.AreEqual(0, emptyTableau.GetSymbolCount(Symbol.Clock));
            Assert.AreEqual(0, emptyTableau.GetSymbolCount(Symbol.Crown));
            Assert.AreEqual(0, emptyTableau.GetSymbolCount(Symbol.Factory));
            Assert.AreEqual(0, emptyTableau.GetSymbolCount(Symbol.Leaf));
            Assert.AreEqual(0, emptyTableau.GetSymbolCount(Symbol.Lightbulb));
            Assert.AreEqual(0, emptyTableau.GetSymbolCount(Symbol.Tower));
        }
예제 #2
0
 public void Tableau_GetScore()
 {
     Assert.AreEqual(6, testTableau.GetScore());
 }