public void should_have_defined_one_grouping_item_for_each_distinct_value_defined_for_the_covariate() { _covariate.GroupingItems.Count.ShouldBeEqualTo(3); _covariate.GroupingByName("Value1").ShouldNotBeNull(); _covariate.GroupingByName("Value2").ShouldNotBeNull(); _covariate.GroupingByName(_referenceLabel).ShouldNotBeNull(); }
public void should_have_used_the_default_color_and_symbol_settings_for_male_and_female() { _covariate.GroupingByName("Male").Color.ShouldBeEqualTo(PKSimColors.Male); _covariate.GroupingByName("Male").Symbol.ShouldBeEqualTo(Symbols.Circle); _covariate.GroupingByName("Female").Color.ShouldBeEqualTo(PKSimColors.Female); _covariate.GroupingByName("Female").Symbol.ShouldBeEqualTo(Symbols.Diamond); }
public void covariate_field_should_know_reference_grouping_item() { _covariateField.GroupingItems.Contains(_referenceGroupingItem).ShouldBeTrue(); _covariateField.GroupingByName(_referenceGroupingItem.Label).ShouldBeEqualTo(_referenceGroupingItem); }