public void SelectAllele_ReturnFirstAllele()
 {
     var random = new Truthy();
     var factory = new PersonFactory(random);
     var first = new Allele();
     var second = new Allele();
     var gene = new Gene(first, second, Guid.NewGuid());
     var bob = factory.SelectAllele(gene);
     Assert.AreEqual(bob, first.Id);
 }
 public void RetrieveAllele(int number, int indexOfResult)
 {
     var random = new Truthy(number);
     var firstAllele = new Allele(.33);
     var secondAllele = new Allele(.33);
     var thirdAllele = new Allele(.33);
     var alleleList = new List<IAllele> {firstAllele, secondAllele, thirdAllele};
     var mgr = new AlleleManager(alleleList);
     var factory = new PersonFactory(random);
     var actual = factory.RetrieveAllele(mgr);
     Assert.AreEqual(alleleList[indexOfResult].Id, actual.Id);
 }