Exemplo n.º 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));
        }
Exemplo n.º 2
0
 public void Tableau_GetHighestAge()
 {
     Assert.AreEqual(5, testTableau.GetHighestAge());
 }