Beispiel #1
0
        public void CanCountSpecificTokenTypeContained()
        {
            uint blackCount  = 2;
            uint blueCount   = 1;
            uint greenCount  = 0;
            uint redCount    = 2;
            uint whiteCount  = 0;
            uint yellowCount = 1;

            _sut.AddTokens(new TokenCollection(whiteCount, blackCount, blueCount, greenCount, redCount, yellowCount));

            Assert.AreEqual(_sut.GetCount(TokenColor.Black), blackCount);
            Assert.AreEqual(_sut.GetCount(TokenColor.Blue), blueCount);
            Assert.AreEqual(_sut.GetCount(TokenColor.Green), greenCount);
            Assert.AreEqual(_sut.GetCount(TokenColor.Red), redCount);
            Assert.AreEqual(_sut.GetCount(TokenColor.White), whiteCount);
            Assert.AreEqual(_sut.GetCount(TokenColor.Yellow), yellowCount);
        }