예제 #1
0
        private QuantityValues quantityPathFor(IndividualResults individualResult, string path, Cache <QuantityValues, List <float> > cacheQuantitiesValues)
        {
            var quantity = individualResult.ValuesFor(path);

            if (quantity == null)
            {
                quantity = new QuantityValues {
                    QuantityPath = path
                };
                cacheQuantitiesValues.Add(quantity, new List <float>());
                individualResult.Add(quantity);
            }
            return(quantity);
        }
예제 #2
0
 public void should_have_renamed_all_entry_containing_the_compound_name_for_a_calcualted_drug()
 {
     _individualResults.ValuesFor("C|Liver|Cell|C2").ShouldNotBeNull();
 }