Пример #1
0
        public void TrueIfInvesterAndFinancer()
        {
            LookingFor investor = new LookingFor {Investements = true};
            LookingFor financing = new LookingFor {Financing = true};

            Assert.That(investor.MatchWith(financing), Is.EqualTo(true));
        }
Пример #2
0
        public void TrueIfBothAreOpenToJoinOrBeJoined()
        {
            LookingFor joinOrBeJoined = new LookingFor {JoinOrBeJoined = true};

            Assert.That(joinOrBeJoined.MatchWith(joinOrBeJoined), Is.EqualTo(true));
        }
Пример #3
0
        public void FalseIfBothHaveIdeas()
        {
            LookingFor partnerToMyIdea = new LookingFor {PartnerToMyIdea = true};

            Assert.That(partnerToMyIdea.MatchWith(partnerToMyIdea), Is.EqualTo(false));
        }