Exemple #1
0
        public void ChangedDirection_GivenNull_ShouldThrow()
        {
            StandardRuleProvider target = new StandardRuleProvider();

            target.ChangedDirection(null);

            return;
        }
Exemple #2
0
        public void ChangedDirection_GivenNotReverse_ShouldReturnFalse()
        {
            StandardRuleProvider target = new StandardRuleProvider();
            bool changedDirection       = target.ChangedDirection(new Card(Color.Red, Value.DrawTwo));

            Assert.IsFalse(changedDirection);

            return;
        }