예제 #1
0
        public void IsValid_NineSpadesOnTenClubs_ReturnsFalse()
        {
            Setup();

            TableauMove move = new HandToTableauMove(_unitOfWork, _nineSpades, _tenClubs);

            Assert.AreEqual(move.IsValid(), false);
        }
예제 #2
0
        public void IsValid_NineSpadesOnTenHearts_ReturnsTrue()
        {
            Setup();

            TableauMove move = new HandToTableauMove(_unitOfWork, _nineSpades, _tenHearts);

            Assert.AreEqual(move.IsValid(), true);
        }