public void should_have_update_the_field_position_as_expected() { _newPivotAnalysis.GetPosition(_field1).Area.ShouldBeEqualTo(_populationPivotAnalysis.GetPosition(_field1).Area); _newPivotAnalysis.GetPosition(_field1).Index.ShouldBeEqualTo(_populationPivotAnalysis.GetPosition(_field1).Index); _newPivotAnalysis.GetPosition(_field2).Area.ShouldBeEqualTo(_populationPivotAnalysis.GetPosition(_field2).Area); _newPivotAnalysis.GetPosition(_field2).Index.ShouldBeEqualTo(_populationPivotAnalysis.GetPosition(_field2).Index); }
public void should_set_the_field_at_the_index_0_in_the_color_area() { var position = _pivotAnalysis.GetPosition(_field); position.Area.ShouldBeEqualTo(PivotArea.ColorArea); position.Index.ShouldBeEqualTo(0); }
public void should_move_the_existing_field_at_the_end_of_the_filter() { var position = _pivotAnalysis.GetPosition(_existingColorField); position.Area.ShouldBeEqualTo(PivotArea.FilterArea); }