Esempio n. 1
0
 public void should_return_a_number_of_bins_grouping_definition_with_all_properties_set_as_expected()
 {
     _newNumberOfBinsGrouping.ShouldNotBeNull();
     _newNumberOfBinsGrouping.FieldName.ShouldBeEqualTo(_numberOfBinsGrouping.FieldName);
     _newNumberOfBinsGrouping.DisplayUnit.ShouldBeEqualTo(_unit);
     _newNumberOfBinsGrouping.Dimension.ShouldBeEqualTo(_dimension);
     _newNumberOfBinsGrouping.Labels.ShouldOnlyContainInOrder(_numberOfBinsGrouping.Labels);
     _newNumberOfBinsGrouping.NamingPattern.ShouldOnlyContainInOrder(_numberOfBinsGrouping.NamingPattern);
     _newNumberOfBinsGrouping.NumberOfBins.ShouldBeEqualTo(_numberOfBinsGrouping.NumberOfBins);
     _newNumberOfBinsGrouping.StartColor.ShouldBeEqualTo(_numberOfBinsGrouping.StartColor);
     _newNumberOfBinsGrouping.EndColor.ShouldBeEqualTo(_numberOfBinsGrouping.EndColor);
     _newNumberOfBinsGrouping.Strategy.ShouldBeEqualTo(_numberOfBinsGrouping.Strategy);
     _newNumberOfBinsGrouping.Items.ShouldOnlyContainInOrder(_numberOfBinsGrouping.Items);
 }
Esempio n. 2
0
 public void should_return_a_grouping_definition_with_the_accurate_number_of_bins()
 {
     _result.ShouldNotBeNull();
     _result.NumberOfBins.ShouldBeEqualTo(_dto.NumberOfBins);
 }