public void ReceiveInformationWithNumberDoesNotSetNumberKnownOnCardsWithDifferentNumber()
        {
            var cardWithDifferentNumber = new Card(Suite.White, Number.Two);
            var player = new PlayerBuilder
            {
                Cards = new List <Card>
                {
                    new Card(Suite.White, Number.One),
                    cardWithDifferentNumber,
                },
            }.Build();

            player.ReceiveInformation(Number.One);

            player.Information[cardWithDifferentNumber].IsNumberKnown.Should().BeFalse();
        }
        public void ReceiveInformationWithSuiteDoesNotSetSuiteKnownOnCardsInDifferentSuite()
        {
            var cardInDifferentSuite = new Card(Suite.Yellow, Number.One);
            var player = new PlayerBuilder
            {
                Cards = new List <Card>
                {
                    new Card(Suite.White, Number.One),
                    cardInDifferentSuite,
                },
            }.Build();

            player.ReceiveInformation(Suite.White);

            player.Information[cardInDifferentSuite].IsSuiteKnown.Should().BeFalse();
        }
        public void ReceiveInformationWithNumberSetsNumberKnownOnCardsWithSameNumber()
        {
            var cardWithSameNumber = new Card(Suite.White, Number.One);
            var player             = new PlayerBuilder
            {
                Cards = new List <Card>
                {
                    cardWithSameNumber,
                    new Card(Suite.White, Number.Two),
                },
            }.Build();

            player.ReceiveInformation(Number.One);

            player.Information[cardWithSameNumber].IsNumberKnown.Should().BeTrue();
        }
        public void ReceiveInformationWithSuiteSetsSuiteKnownOnCardsInSameSuite()
        {
            var cardInSameSuite = new Card(Suite.White, Number.One);
            var player          = new PlayerBuilder
            {
                Cards = new List <Card>
                {
                    cardInSameSuite,
                    new Card(Suite.Yellow, Number.One),
                },
            }.Build();

            player.ReceiveInformation(Suite.White);

            player.Information[cardInSameSuite].IsSuiteKnown.Should().BeTrue();
        }